C# Class Boo.BooLangService.Document.BooDocumentVisitor

Visitor for building a tree of the source for use with intellisense.
Inheritance: Boo.Lang.Compiler.Steps.AbstractTransformerCompilerStep
Show file Open project: jagregory/boolangstudio Class Usage Examples

Public Methods

Method Description
EnterClassDefinition ( ClassDefinition node ) : bool
EnterConstructor ( Constructor node ) : bool
EnterInterfaceDefinition ( Boo.Lang.Compiler.Ast.InterfaceDefinition node ) : bool
EnterMethod ( Method node ) : bool
EnterModule ( Module node ) : bool
EnterTryStatement ( Boo.Lang.Compiler.Ast.TryStatement node ) : bool
LeaveClassDefinition ( ClassDefinition node ) : void
LeaveConstructor ( Constructor node ) : void
LeaveInterfaceDefinition ( Boo.Lang.Compiler.Ast.InterfaceDefinition node ) : void
LeaveMethod ( Method node ) : void
LeaveModule ( Module node ) : void
LeaveTryStatement ( Boo.Lang.Compiler.Ast.TryStatement node ) : void
OnField ( Boo.Lang.Compiler.Ast.Field node ) : void
OnImport ( Import node ) : void
OnLocal ( Local node ) : void
OnNamespaceDeclaration ( Boo.Lang.Compiler.Ast.NamespaceDeclaration node ) : void
OnProperty ( Property node ) : void
OnReferenceExpression ( ReferenceExpression node ) : void
Run ( ) : void
VisitNode ( Node node ) : Node

Private Methods

Method Description
GetTopLevelNamespacesFromReferences ( ) : string[]
Pop ( int endLine ) : void
Push ( IBooParseTreeNode node, int line ) : void
VisitReferences ( ) : void

Method Details

EnterClassDefinition() public method

public EnterClassDefinition ( ClassDefinition node ) : bool
node Boo.Lang.Compiler.Ast.ClassDefinition
return bool

EnterConstructor() public method

public EnterConstructor ( Constructor node ) : bool
node Boo.Lang.Compiler.Ast.Constructor
return bool

EnterInterfaceDefinition() public method

public EnterInterfaceDefinition ( Boo.Lang.Compiler.Ast.InterfaceDefinition node ) : bool
node Boo.Lang.Compiler.Ast.InterfaceDefinition
return bool

EnterMethod() public method

public EnterMethod ( Method node ) : bool
node Boo.Lang.Compiler.Ast.Method
return bool

EnterModule() public method

public EnterModule ( Module node ) : bool
node Boo.Lang.Compiler.Ast.Module
return bool

EnterTryStatement() public method

public EnterTryStatement ( Boo.Lang.Compiler.Ast.TryStatement node ) : bool
node Boo.Lang.Compiler.Ast.TryStatement
return bool

LeaveClassDefinition() public method

public LeaveClassDefinition ( ClassDefinition node ) : void
node Boo.Lang.Compiler.Ast.ClassDefinition
return void

LeaveConstructor() public method

public LeaveConstructor ( Constructor node ) : void
node Boo.Lang.Compiler.Ast.Constructor
return void

LeaveInterfaceDefinition() public method

public LeaveInterfaceDefinition ( Boo.Lang.Compiler.Ast.InterfaceDefinition node ) : void
node Boo.Lang.Compiler.Ast.InterfaceDefinition
return void

LeaveMethod() public method

public LeaveMethod ( Method node ) : void
node Boo.Lang.Compiler.Ast.Method
return void

LeaveModule() public method

public LeaveModule ( Module node ) : void
node Boo.Lang.Compiler.Ast.Module
return void

LeaveTryStatement() public method

public LeaveTryStatement ( Boo.Lang.Compiler.Ast.TryStatement node ) : void
node Boo.Lang.Compiler.Ast.TryStatement
return void

OnField() public method

public OnField ( Boo.Lang.Compiler.Ast.Field node ) : void
node Boo.Lang.Compiler.Ast.Field
return void

OnImport() public method

public OnImport ( Import node ) : void
node Boo.Lang.Compiler.Ast.Import
return void

OnLocal() public method

public OnLocal ( Local node ) : void
node Local
return void

OnNamespaceDeclaration() public method

public OnNamespaceDeclaration ( Boo.Lang.Compiler.Ast.NamespaceDeclaration node ) : void
node Boo.Lang.Compiler.Ast.NamespaceDeclaration
return void

OnProperty() public method

public OnProperty ( Property node ) : void
node Property
return void

OnReferenceExpression() public method

public OnReferenceExpression ( ReferenceExpression node ) : void
node Boo.Lang.Compiler.Ast.ReferenceExpression
return void

Run() public method

public Run ( ) : void
return void

VisitNode() public method

public VisitNode ( Node node ) : Node
node Node
return Node