public class ParseTreeToGoloIrVisitor extends java.lang.Object implements GoloParserVisitor
Constructor and Description |
---|
ParseTreeToGoloIrVisitor() |
Modifier and Type | Method and Description |
---|---|
GoloModule |
transform(ASTCompilationUnit compilationUnit,
GoloCompilationException.Builder builder) |
java.lang.Object |
visit(ASTAdditiveExpression node,
java.lang.Object data) |
java.lang.Object |
visit(ASTAndExpression node,
java.lang.Object data) |
java.lang.Object |
visit(ASTAnonymousFunctionInvocation node,
java.lang.Object data) |
java.lang.Object |
visit(ASTArgument node,
java.lang.Object data) |
java.lang.Object |
visit(ASTAssignment node,
java.lang.Object data) |
java.lang.Object |
visit(ASTAugmentDeclaration node,
java.lang.Object data) |
java.lang.Object |
visit(ASTBlock node,
java.lang.Object data) |
java.lang.Object |
visit(ASTBreak node,
java.lang.Object data) |
java.lang.Object |
visit(ASTCase node,
java.lang.Object data) |
java.lang.Object |
visit(ASTCollectionLiteral node,
java.lang.Object data) |
java.lang.Object |
visit(ASTCompilationUnit node,
java.lang.Object data) |
java.lang.Object |
visit(ASTConditionalBranching node,
java.lang.Object data) |
java.lang.Object |
visit(ASTContinue node,
java.lang.Object data) |
java.lang.Object |
visit(ASTDecoratorDeclaration node,
java.lang.Object data) |
java.lang.Object |
visit(ASTDestructuringAssignment node,
java.lang.Object data) |
java.lang.Object |
visit(ASTEqualityExpression node,
java.lang.Object data) |
java.lang.Object |
visit(ASTerror node,
java.lang.Object data) |
java.lang.Object |
visit(ASTExpressionStatement node,
java.lang.Object data) |
java.lang.Object |
visit(ASTForEachLoop node,
java.lang.Object data) |
java.lang.Object |
visit(ASTForLoop node,
java.lang.Object data) |
java.lang.Object |
visit(ASTFunctionDeclaration node,
java.lang.Object data) |
java.lang.Object |
visit(ASTFunctionInvocation node,
java.lang.Object data) |
java.lang.Object |
visit(ASTFunction node,
java.lang.Object data) |
java.lang.Object |
visit(ASTImportDeclaration node,
java.lang.Object data) |
java.lang.Object |
visit(ASTInvocationExpression node,
java.lang.Object data) |
java.lang.Object |
visit(ASTLetOrVar node,
java.lang.Object data) |
java.lang.Object |
visit(ASTLiteral node,
java.lang.Object data) |
java.lang.Object |
visit(ASTLocalDeclaration node,
java.lang.Object data) |
java.lang.Object |
visit(ASTMacroInvocation node,
java.lang.Object data) |
java.lang.Object |
visit(ASTMatch node,
java.lang.Object data) |
java.lang.Object |
visit(ASTMemberDeclaration node,
java.lang.Object data) |
java.lang.Object |
visit(ASTMethodInvocation node,
java.lang.Object data) |
java.lang.Object |
visit(ASTModuleDeclaration node,
java.lang.Object data) |
java.lang.Object |
visit(ASTMultiplicativeExpression node,
java.lang.Object data) |
java.lang.Object |
visit(ASTNamedAugmentationDeclaration node,
java.lang.Object data) |
java.lang.Object |
visit(ASTOrExpression node,
java.lang.Object data) |
java.lang.Object |
visit(ASTOrIfNullExpression node,
java.lang.Object data) |
java.lang.Object |
visit(ASTReference node,
java.lang.Object data) |
java.lang.Object |
visit(ASTRelationalExpression node,
java.lang.Object data) |
java.lang.Object |
visit(ASTReturn node,
java.lang.Object data) |
java.lang.Object |
visit(ASTStructDeclaration node,
java.lang.Object data) |
java.lang.Object |
visit(ASTThrow node,
java.lang.Object data) |
java.lang.Object |
visit(ASTToplevelDeclaration node,
java.lang.Object data) |
java.lang.Object |
visit(ASTTryCatchFinally node,
java.lang.Object data) |
java.lang.Object |
visit(ASTUnaryExpression node,
java.lang.Object data) |
java.lang.Object |
visit(ASTUnionDeclaration node,
java.lang.Object data) |
java.lang.Object |
visit(ASTUnionValue node,
java.lang.Object data) |
java.lang.Object |
visit(ASTWhileLoop node,
java.lang.Object data) |
java.lang.Object |
visit(SimpleNode node,
java.lang.Object data) |
public ParseTreeToGoloIrVisitor()
public java.lang.Object visit(ASTerror node, java.lang.Object data)
visit
in interface GoloParserVisitor
public GoloModule transform(ASTCompilationUnit compilationUnit, GoloCompilationException.Builder builder)
public java.lang.Object visit(SimpleNode node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTCompilationUnit node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTModuleDeclaration node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTImportDeclaration node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTToplevelDeclaration node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTMemberDeclaration node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTStructDeclaration node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTUnionDeclaration node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTUnionValue node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTAugmentDeclaration node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTDecoratorDeclaration node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTNamedAugmentationDeclaration node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTFunctionDeclaration node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTContinue node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTBreak node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTFunction node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTUnaryExpression node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTLiteral node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTCollectionLiteral node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTReference node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTLetOrVar node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTAssignment node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTDestructuringAssignment node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTReturn node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTArgument node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTThrow node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTBlock node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTFunctionInvocation node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTMethodInvocation node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTAnonymousFunctionInvocation node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTMacroInvocation node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTConditionalBranching node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTCase node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTMatch node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTWhileLoop node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTForLoop node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTForEachLoop node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTTryCatchFinally node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTExpressionStatement node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTInvocationExpression node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTMultiplicativeExpression node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTAdditiveExpression node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTRelationalExpression node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTEqualityExpression node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTAndExpression node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTOrExpression node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTOrIfNullExpression node, java.lang.Object data)
visit
in interface GoloParserVisitor
public java.lang.Object visit(ASTLocalDeclaration node, java.lang.Object data)
visit
in interface GoloParserVisitor