Goblin - A Platform for 3D AR and VR Applications

CSharpAST Members

CSharpAST overview

Public Static Fields

defCount 

Public Static Properties

CurrentScope 
GlobalScope 
ScopeTable 
SymbolTable Stores un-attributed symbols until all types/vars are declared.

Public Static Methods

resetStatics 

Public Instance Constructors

CSharpAST Overloaded. Initializes a new instance of the CSharpAST class.

Public Instance Properties

FileName 
LinePragma 
Text (inherited from antlr.BaseAST) 
Type Gets or sets the Type of the node (TODO: make this enum)
UserData Gets or sets the user-definable data for the current object.

Public Instance Methods

AddBuiltInDefinition 
addChild (inherited from antlr.BaseAST) 
AddDefinition 
AddRootExpression Stores root expressions (right sides, args, etc) to make expr exprAttr quicker.
AddSymbol Symbols are variables that refer to types, or type refs themselves.
Clone (inherited from antlr.BaseAST)Obsolete.  
CloseScope 
Equals (inherited from antlr.BaseAST)Overloaded.  
EqualsList (inherited from antlr.BaseAST) 
EqualsListPartial (inherited from antlr.BaseAST) 
EqualsTree (inherited from antlr.BaseAST) 
EqualsTreePartial (inherited from antlr.BaseAST) 
findAll (inherited from antlr.BaseAST) 
findAllPartial (inherited from antlr.BaseAST) 
getFirstChild (inherited from antlr.BaseAST) 
GetGraphOverloaded.  
GetHashCode (inherited from antlr.BaseAST) 
getNextSibling (inherited from antlr.BaseAST) 
getNumberOfChildren (inherited from antlr.BaseAST) 
getText 
getType 
GetType (inherited from Object) Gets the Type of the current instance.
initializeOverloaded.  
OpenBlockScope 
OpenScope Creates a new scope and sets it as the current scope. This will also add a definition to the parent scope if needed (in case of eg Class or Namespace, but not eg block or compile unit).
removeChildren (inherited from antlr.BaseAST) 
ResolveExpressions Determines all the return types of expressions, needed for resolving overloads.
ResolveSymbols Attributes all the stored symbols - only call once all definitions are parsed. This will clear the symbol table once its contents are attributed.
setFirstChild (inherited from antlr.BaseAST) 
setNextSibling (inherited from antlr.BaseAST) 
setText 
setType 
ToString 
ToStringList (inherited from antlr.BaseAST) 
ToStringTree (inherited from antlr.BaseAST)Overloaded.  
xmlSerialize (inherited from antlr.BaseAST) 
xmlSerializeNode (inherited from antlr.BaseAST) 
xmlSerializeRootClose (inherited from antlr.BaseAST) 
xmlSerializeRootOpen (inherited from antlr.BaseAST) 

Protected Instance Fields

curType 
isDirty 
p_text 

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Protected Internal Instance Fields

down (inherited from antlr.BaseAST) 
right (inherited from antlr.BaseAST) 

See Also

CSharpAST Class | DDW.CSharp.Parse Namespace