Interface GLSLParserVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
DebugVisitor,GLSLParserBaseVisitor
public interface GLSLParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
GLSLParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byGLSLParser.additiveExpression().Visit a parse tree produced byGLSLParser.andExpression().Visit a parse tree produced byGLSLParser.arraySpecifier().Visit a parse tree produced byGLSLParser.assignmentExpression().Visit a parse tree produced byGLSLParser.assignmentOperator().Visit a parse tree produced byGLSLParser.attribute().Visit a parse tree produced byGLSLParser.builtinTypeSpecifierFixed().Visit a parse tree produced byGLSLParser.builtinTypeSpecifierParseable().Visit a parse tree produced byGLSLParser.callParameterList().Visit a parse tree produced byGLSLParser.caseLabel().Visit a parse tree produced byGLSLParser.compoundStatement().Visit a parse tree produced byGLSLParser.condition().Visit a parse tree produced byGLSLParser.conditionalExpression().Visit a parse tree produced byGLSLParser.constantExpression().Visit a parse tree produced byGLSLParser.declaration().Visit a parse tree produced byGLSLParser.declarationMember().Visit a parse tree produced byGLSLParser.declarationMemberList().Visit a parse tree produced byGLSLParser.declarationStatement().Visit a parse tree produced byGLSLParser.demoteStatement().Visit a parse tree produced byGLSLParser.doWhileStatement().Visit a parse tree produced byGLSLParser.emptyStatement().Visit a parse tree produced byGLSLParser.equalityExpression().Visit a parse tree produced byGLSLParser.exclusiveOrExpression().Visit a parse tree produced byGLSLParser.expression().Visit a parse tree produced byGLSLParser.expressionStatement().Visit a parse tree produced byGLSLParser.extensionState().Visit a parse tree produced byGLSLParser.extensionStatement().Visit a parse tree produced byGLSLParser.externalDeclaration().Visit a parse tree produced byGLSLParser.forStatement().Visit a parse tree produced byGLSLParser.fullySpecifiedType().Visit a parse tree produced byGLSLParser.functionCall().Visit a parse tree produced byGLSLParser.functionDefinition().Visit a parse tree produced byGLSLParser.functionHeader().Visit a parse tree produced byGLSLParser.functionIdentifier().Visit a parse tree produced byGLSLParser.functionParameterList().Visit a parse tree produced byGLSLParser.functionPrototype().Visit a parse tree produced byGLSLParser.inclusiveOrExpression().Visit a parse tree produced byGLSLParser.initDeclaratorList().Visit a parse tree produced byGLSLParser.initializer().Visit a parse tree produced byGLSLParser.interpolationQualifier().Visit a parse tree produced byGLSLParser.invariantQualifier().Visit a parse tree produced byGLSLParser.jumpStatement().Visit a parse tree produced byGLSLParser.layoutDefaults().Visit a parse tree produced byGLSLParser.layoutModes().Visit a parse tree produced byGLSLParser.layoutQualifier().Visit a parse tree produced byGLSLParser.layoutQualifierId().Visit a parse tree produced byGLSLParser.logicalAndExpression().Visit a parse tree produced byGLSLParser.logicalOrExpression().Visit a parse tree produced byGLSLParser.logicalXorExpression().Visit a parse tree produced byGLSLParser.methodCall().Visit a parse tree produced byGLSLParser.multiplicativeExpression().Visit a parse tree produced byGLSLParser.parameterDeclaration().Visit a parse tree produced byGLSLParser.parameterDeclarator().Visit a parse tree produced byGLSLParser.postfixExpression().Visit a parse tree produced byGLSLParser.pragmaStatement().Visit a parse tree produced byGLSLParser.preciseQualifier().Visit a parse tree produced byGLSLParser.precisionQualifier().Visit a parse tree produced byGLSLParser.primaryExpression().Visit a parse tree produced byGLSLParser.relationalExpression().Visit a parse tree produced byGLSLParser.selectionStatement().Visit a parse tree produced byGLSLParser.shiftExpression().Visit a parse tree produced byGLSLParser.simpleStatement().Visit a parse tree produced byGLSLParser.singleAttribute().Visit a parse tree produced byGLSLParser.statement().Visit a parse tree produced byGLSLParser.storageQualifier().Visit a parse tree produced byGLSLParser.structDeclaration().Visit a parse tree produced byGLSLParser.structDeclarationList().Visit a parse tree produced byGLSLParser.structDeclarator().Visit a parse tree produced byGLSLParser.structDeclaratorList().Visit a parse tree produced byGLSLParser.structSpecifier().Visit a parse tree produced byGLSLParser.switchStatement().Visit a parse tree produced byGLSLParser.translationUnit().Visit a parse tree produced byGLSLParser.typeNameList().Visit a parse tree produced byGLSLParser.typeQualifier().Visit a parse tree produced byGLSLParser.typeSpecifier().Visit a parse tree produced byGLSLParser.typeSpecifierNonarray().Visit a parse tree produced byGLSLParser.unaryExpression().Visit a parse tree produced byGLSLParser.unaryOperator().Visit a parse tree produced byGLSLParser.variableIdentifier().Visit a parse tree produced byGLSLParser.versionStatement().Visit a parse tree produced byGLSLParser.whileStatement().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitTranslationUnit
Visit a parse tree produced byGLSLParser.translationUnit().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVersionStatement
Visit a parse tree produced byGLSLParser.versionStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternalDeclaration
Visit a parse tree produced byGLSLParser.externalDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPragmaStatement
Visit a parse tree produced byGLSLParser.pragmaStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExtensionStatement
Visit a parse tree produced byGLSLParser.extensionStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExtensionState
Visit a parse tree produced byGLSLParser.extensionState().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLayoutDefaults
Visit a parse tree produced byGLSLParser.layoutDefaults().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLayoutModes
Visit a parse tree produced byGLSLParser.layoutModes().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionDefinition
Visit a parse tree produced byGLSLParser.functionDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableIdentifier
Visit a parse tree produced byGLSLParser.variableIdentifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrimaryExpression
Visit a parse tree produced byGLSLParser.primaryExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostfixExpression
Visit a parse tree produced byGLSLParser.postfixExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
Visit a parse tree produced byGLSLParser.functionCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMethodCall
Visit a parse tree produced byGLSLParser.methodCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCallParameterList
Visit a parse tree produced byGLSLParser.callParameterList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionIdentifier
Visit a parse tree produced byGLSLParser.functionIdentifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryExpression
Visit a parse tree produced byGLSLParser.unaryExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryOperator
Visit a parse tree produced byGLSLParser.unaryOperator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExpression
Visit a parse tree produced byGLSLParser.multiplicativeExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdditiveExpression
Visit a parse tree produced byGLSLParser.additiveExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShiftExpression
Visit a parse tree produced byGLSLParser.shiftExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRelationalExpression
Visit a parse tree produced byGLSLParser.relationalExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpression
Visit a parse tree produced byGLSLParser.equalityExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndExpression
Visit a parse tree produced byGLSLParser.andExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExclusiveOrExpression
Visit a parse tree produced byGLSLParser.exclusiveOrExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInclusiveOrExpression
Visit a parse tree produced byGLSLParser.inclusiveOrExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalAndExpression
Visit a parse tree produced byGLSLParser.logicalAndExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalXorExpression
Visit a parse tree produced byGLSLParser.logicalXorExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicalOrExpression
Visit a parse tree produced byGLSLParser.logicalOrExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditionalExpression
Visit a parse tree produced byGLSLParser.conditionalExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentExpression
Visit a parse tree produced byGLSLParser.assignmentExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssignmentOperator
Visit a parse tree produced byGLSLParser.assignmentOperator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byGLSLParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstantExpression
Visit a parse tree produced byGLSLParser.constantExpression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclaration
Visit a parse tree produced byGLSLParser.declaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionPrototype
Visit a parse tree produced byGLSLParser.functionPrototype().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionParameterList
Visit a parse tree produced byGLSLParser.functionParameterList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionHeader
Visit a parse tree produced byGLSLParser.functionHeader().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameterDeclarator
Visit a parse tree produced byGLSLParser.parameterDeclarator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParameterDeclaration
Visit a parse tree produced byGLSLParser.parameterDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttribute
Visit a parse tree produced byGLSLParser.attribute().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSingleAttribute
Visit a parse tree produced byGLSLParser.singleAttribute().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInitDeclaratorList
Visit a parse tree produced byGLSLParser.initDeclaratorList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclarationMemberList
Visit a parse tree produced byGLSLParser.declarationMemberList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclarationMember
Visit a parse tree produced byGLSLParser.declarationMember().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFullySpecifiedType
Visit a parse tree produced byGLSLParser.fullySpecifiedType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStorageQualifier
Visit a parse tree produced byGLSLParser.storageQualifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLayoutQualifier
Visit a parse tree produced byGLSLParser.layoutQualifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLayoutQualifierId
Visit a parse tree produced byGLSLParser.layoutQualifierId().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrecisionQualifier
Visit a parse tree produced byGLSLParser.precisionQualifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterpolationQualifier
Visit a parse tree produced byGLSLParser.interpolationQualifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInvariantQualifier
Visit a parse tree produced byGLSLParser.invariantQualifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreciseQualifier
Visit a parse tree produced byGLSLParser.preciseQualifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeQualifier
Visit a parse tree produced byGLSLParser.typeQualifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeNameList
Visit a parse tree produced byGLSLParser.typeNameList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeSpecifier
Visit a parse tree produced byGLSLParser.typeSpecifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArraySpecifier
Visit a parse tree produced byGLSLParser.arraySpecifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeSpecifierNonarray
Visit a parse tree produced byGLSLParser.typeSpecifierNonarray().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBuiltinTypeSpecifierParseable
Visit a parse tree produced byGLSLParser.builtinTypeSpecifierParseable().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBuiltinTypeSpecifierFixed
Visit a parse tree produced byGLSLParser.builtinTypeSpecifierFixed().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStructSpecifier
Visit a parse tree produced byGLSLParser.structSpecifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStructDeclarationList
Visit a parse tree produced byGLSLParser.structDeclarationList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStructDeclaration
Visit a parse tree produced byGLSLParser.structDeclaration().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStructDeclaratorList
Visit a parse tree produced byGLSLParser.structDeclaratorList().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStructDeclarator
Visit a parse tree produced byGLSLParser.structDeclarator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInitializer
Visit a parse tree produced byGLSLParser.initializer().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatement
Visit a parse tree produced byGLSLParser.statement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSimpleStatement
Visit a parse tree produced byGLSLParser.simpleStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompoundStatement
Visit a parse tree produced byGLSLParser.compoundStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeclarationStatement
Visit a parse tree produced byGLSLParser.declarationStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionStatement
Visit a parse tree produced byGLSLParser.expressionStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyStatement
Visit a parse tree produced byGLSLParser.emptyStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelectionStatement
Visit a parse tree produced byGLSLParser.selectionStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCondition
Visit a parse tree produced byGLSLParser.condition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSwitchStatement
Visit a parse tree produced byGLSLParser.switchStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCaseLabel
Visit a parse tree produced byGLSLParser.caseLabel().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhileStatement
Visit a parse tree produced byGLSLParser.whileStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDoWhileStatement
Visit a parse tree produced byGLSLParser.doWhileStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForStatement
Visit a parse tree produced byGLSLParser.forStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJumpStatement
Visit a parse tree produced byGLSLParser.jumpStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDemoteStatement
Visit a parse tree produced byGLSLParser.demoteStatement().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-