lib/rbgccxml.rb in rbgccxml-0.8 vs lib/rbgccxml.rb in rbgccxml-0.9
- old
+ new
@@ -1,35 +1,39 @@
-require 'hpricot'
-gem 'gccxml_gem'
require 'gccxml'
require 'rbgccxml/rbgccxml'
module RbGCCXML
# Core classes
- autoload :Parser, "rbgccxml/parser"
- autoload :Node, "rbgccxml/node"
- autoload :QueryResult, "rbgccxml/query_result"
- autoload :XMLParsing, "rbgccxml/xml_parsing"
+ autoload :Node, "rbgccxml/node"
+ autoload :Parser, "rbgccxml/parser"
+ autoload :XMLParsing, "rbgccxml/xml_parsing"
+ autoload :QueryResult, "rbgccxml/query_result"
# Nodes
- autoload :Argument, "rbgccxml/nodes/argument"
- autoload :Class, "rbgccxml/nodes/class"
- autoload :Constructor, "rbgccxml/nodes/constructor"
- autoload :File, "rbgccxml/nodes/file"
- autoload :Function, "rbgccxml/nodes/function"
- autoload :Method, "rbgccxml/nodes/method"
- autoload :Namespace, "rbgccxml/nodes/namespace"
- autoload :Struct, "rbgccxml/nodes/struct"
- autoload :Enumeration, "rbgccxml/nodes/enumeration"
- autoload :EnumValue, "rbgccxml/nodes/enum_value"
+ autoload :Argument, "rbgccxml/nodes/argument"
+ autoload :Base, "rbgccxml/nodes/base"
+ autoload :Class, "rbgccxml/nodes/class"
+ autoload :Constructor, "rbgccxml/nodes/constructor"
+ autoload :Destructor, "rbgccxml/nodes/destructor"
+ autoload :Enumeration, "rbgccxml/nodes/enumeration"
+ autoload :EnumValue, "rbgccxml/nodes/enum_value"
+ autoload :Field, "rbgccxml/nodes/field"
+ autoload :File, "rbgccxml/nodes/file"
+ autoload :FunctionType, "rbgccxml/nodes/function_type"
+ autoload :Function, "rbgccxml/nodes/function"
+ autoload :Method, "rbgccxml/nodes/method"
+ autoload :Namespace, "rbgccxml/nodes/namespace"
+ autoload :Struct, "rbgccxml/nodes/struct"
+ autoload :Variable, "rbgccxml/nodes/variable"
# Type Management
- autoload :Type, "rbgccxml/nodes/type"
- autoload :FundamentalType, "rbgccxml/nodes/types/fundamental_type"
- autoload :PointerType, "rbgccxml/nodes/types/pointer_type"
- autoload :Typedef, "rbgccxml/nodes/types/typedef"
- autoload :ReferenceType, "rbgccxml/nodes/types/reference_type"
- autoload :CvQualifiedType, "rbgccxml/nodes/types/cv_qualified_type"
+ autoload :Type, "rbgccxml/nodes/type"
+ autoload :Typedef, "rbgccxml/nodes/types/typedef"
+ autoload :ArrayType, "rbgccxml/nodes/types/array_type"
+ autoload :PointerType, "rbgccxml/nodes/types/pointer_type"
+ autoload :ReferenceType, "rbgccxml/nodes/types/reference_type"
+ autoload :CvQualifiedType, "rbgccxml/nodes/types/cv_qualified_type"
+ autoload :FundamentalType, "rbgccxml/nodes/types/fundamental_type"
end