C# Class Boo.BooLangService.Document.BooDocumentVisitor

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

Méthodes publiques

Méthode 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

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

Method Details

EnterClassDefinition() public méthode

public EnterClassDefinition ( ClassDefinition node ) : bool
node Boo.Lang.Compiler.Ast.ClassDefinition
Résultat bool

EnterConstructor() public méthode

public EnterConstructor ( Constructor node ) : bool
node Boo.Lang.Compiler.Ast.Constructor
Résultat bool

EnterInterfaceDefinition() public méthode

public EnterInterfaceDefinition ( Boo.Lang.Compiler.Ast.InterfaceDefinition node ) : bool
node Boo.Lang.Compiler.Ast.InterfaceDefinition
Résultat bool

EnterMethod() public méthode

public EnterMethod ( Method node ) : bool
node Boo.Lang.Compiler.Ast.Method
Résultat bool

EnterModule() public méthode

public EnterModule ( Module node ) : bool
node Boo.Lang.Compiler.Ast.Module
Résultat bool

EnterTryStatement() public méthode

public EnterTryStatement ( Boo.Lang.Compiler.Ast.TryStatement node ) : bool
node Boo.Lang.Compiler.Ast.TryStatement
Résultat bool

LeaveClassDefinition() public méthode

public LeaveClassDefinition ( ClassDefinition node ) : void
node Boo.Lang.Compiler.Ast.ClassDefinition
Résultat void

LeaveConstructor() public méthode

public LeaveConstructor ( Constructor node ) : void
node Boo.Lang.Compiler.Ast.Constructor
Résultat void

LeaveInterfaceDefinition() public méthode

public LeaveInterfaceDefinition ( Boo.Lang.Compiler.Ast.InterfaceDefinition node ) : void
node Boo.Lang.Compiler.Ast.InterfaceDefinition
Résultat void

LeaveMethod() public méthode

public LeaveMethod ( Method node ) : void
node Boo.Lang.Compiler.Ast.Method
Résultat void

LeaveModule() public méthode

public LeaveModule ( Module node ) : void
node Boo.Lang.Compiler.Ast.Module
Résultat void

LeaveTryStatement() public méthode

public LeaveTryStatement ( Boo.Lang.Compiler.Ast.TryStatement node ) : void
node Boo.Lang.Compiler.Ast.TryStatement
Résultat void

OnField() public méthode

public OnField ( Boo.Lang.Compiler.Ast.Field node ) : void
node Boo.Lang.Compiler.Ast.Field
Résultat void

OnImport() public méthode

public OnImport ( Import node ) : void
node Boo.Lang.Compiler.Ast.Import
Résultat void

OnLocal() public méthode

public OnLocal ( Local node ) : void
node Local
Résultat void

OnNamespaceDeclaration() public méthode

public OnNamespaceDeclaration ( Boo.Lang.Compiler.Ast.NamespaceDeclaration node ) : void
node Boo.Lang.Compiler.Ast.NamespaceDeclaration
Résultat void

OnProperty() public méthode

public OnProperty ( Property node ) : void
node Property
Résultat void

OnReferenceExpression() public méthode

public OnReferenceExpression ( ReferenceExpression node ) : void
node Boo.Lang.Compiler.Ast.ReferenceExpression
Résultat void

Run() public méthode

public Run ( ) : void
Résultat void

VisitNode() public méthode

public VisitNode ( Node node ) : Node
node Node
Résultat Node