Package quickparse.parsing.syntaxtree
Interface SyntaxTreeVisitor
public interface SyntaxTreeVisitor
Defines a SyntaxTreeVisitor for a
syntax tree-
Method Summary
Modifier and Type Method Description voidenterConstruct(ConstructNode node)Enters into the syntax node of a construct.voidexitConstruct(ConstructNode node)Exits from the syntax node of a construct.voidtoken(TokenNode node)Visits the syntax node of a token.
-
Method Details
-
token
Visits the syntax node of a token.- Parameters:
node- the syntax node relative to the token
-
enterConstruct
Enters into the syntax node of a construct.- Parameters:
node- the syntax node relative to the construct
-
exitConstruct
Exits from the syntax node of a construct.- Parameters:
node- the syntax node relative to the construct
-