Class ASMGenAllPathsReturnVisitor
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.bradyrussell.uiscoin.lang.generated.UISCBaseVisitor<java.lang.Boolean>
com.bradyrussell.uiscoin.lang.compiler.ASMGenAllPathsReturnVisitor
- All Implemented Interfaces:
UISCVisitor<java.lang.Boolean>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<java.lang.Boolean>
public class ASMGenAllPathsReturnVisitor extends UISCBaseVisitor<java.lang.Boolean>
-
Constructor Summary
Constructors Constructor Description ASMGenAllPathsReturnVisitor()
-
Method Summary
Modifier and Type Method Description protected java.lang.Boolean
aggregateResult(java.lang.Boolean aggregate, java.lang.Boolean nextResult)
protected java.lang.Boolean
defaultResult()
java.lang.Boolean
visitException(UISCParser.ExceptionContext ctx)
Visit a parse tree produced byUISCParser.exception()
.java.lang.Boolean
visitIfStatement(UISCParser.IfStatementContext ctx)
Visit a parse tree produced by theifStatement
labeled alternative inUISCParser.statement()
.java.lang.Boolean
visitReturnStatement(UISCParser.ReturnStatementContext ctx)
Visit a parse tree produced by thereturnStatement
labeled alternative inUISCParser.statement()
.Methods inherited from class com.bradyrussell.uiscoin.lang.generated.UISCBaseVisitor
visitAddressOfVariableExpression, visitAddSubExpression, visitAndOrXorExpression, visitArrayAccessExpression, visitArrayAssignmentInitialization, visitArrayInitializer, visitArrayStringInitialization, visitArrayValueInitialization, visitAssembly, visitAssemblyStatement, visitAssertion, visitAssertionStatement, visitAssignmentStatement, visitBitwiseExpression, visitBlock, visitBlockStatement, visitBooleanLiteral, visitBooleanLiteralExpression, visitBreakStatement, visitCastExpression, visitCatchStatement, visitCharLiteralExpression, visitComparisonExpression, visitContinueStatement, visitElseifStatement, visitElseStatement, visitEqualityExpression, visitExceptionStatement, visitExprList, visitFile, visitFlag, visitFlagData, visitFlagDataStatement, visitFlagStatement, visitFormalParameter, visitFormalParameters, visitForStatement, visitFunctionCallExpression, visitFunctionCallStatement, visitFunctionDeclaration, visitInclude, visitIncludeStatement, visitInferredType, visitLengthOfExpression, visitModuloExpression, visitMultDivExpression, visitNativeCallExpression, visitNegateExpression, visitNotExpression, visitNumber, visitNumberLiteralExpression, visitOpAndAssignmentStatement, visitParenExpression, visitPointer, visitPostfixOpExpression, visitPrefixOpExpression, visitPrimitiveType, visitSizeOfExpression, visitStringLiteralExpression, visitStructDeclaration, visitStructDeclarationStatement, visitStructField, visitStructFieldReferenceExpression, visitStructType, visitTernaryExpression, visitTryCatchStatement, visitTryStatement, visitType, visitUforeachStatement, visitUforiStatement, visitValueAtVariableExpression, visitVarDeclarationStatement, visitVariableReferenceExpression, visitVarInitialization, visitWhileStatement
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
ASMGenAllPathsReturnVisitor
public ASMGenAllPathsReturnVisitor()
-
-
Method Details
-
defaultResult
protected java.lang.Boolean defaultResult()- Overrides:
defaultResult
in classorg.antlr.v4.runtime.tree.AbstractParseTreeVisitor<java.lang.Boolean>
-
aggregateResult
protected java.lang.Boolean aggregateResult(java.lang.Boolean aggregate, java.lang.Boolean nextResult)- Overrides:
aggregateResult
in classorg.antlr.v4.runtime.tree.AbstractParseTreeVisitor<java.lang.Boolean>
-
visitReturnStatement
Description copied from class:UISCBaseVisitor
Visit a parse tree produced by thereturnStatement
labeled alternative inUISCParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitReturnStatement
in interfaceUISCVisitor<java.lang.Boolean>
- Overrides:
visitReturnStatement
in classUISCBaseVisitor<java.lang.Boolean>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitException
Description copied from class:UISCBaseVisitor
Visit a parse tree produced byUISCParser.exception()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitException
in interfaceUISCVisitor<java.lang.Boolean>
- Overrides:
visitException
in classUISCBaseVisitor<java.lang.Boolean>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIfStatement
Description copied from class:UISCBaseVisitor
Visit a parse tree produced by theifStatement
labeled alternative inUISCParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIfStatement
in interfaceUISCVisitor<java.lang.Boolean>
- Overrides:
visitIfStatement
in classUISCBaseVisitor<java.lang.Boolean>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-