public static class OdpsParser.FunctionDefinitionContext extends OdpsParserRuleContext
data
Constructor and Description |
---|
FunctionDefinitionContext(org.antlr.v4.runtime.ParserRuleContext parent,
int invokingState) |
Modifier and Type | Method and Description |
---|---|
OdpsParser.CompoundStatementContext |
compoundStatement() |
void |
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
void |
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener) |
OdpsParser.ExpressionContext |
expression() |
OdpsParser.FunctionIdentifierContext |
functionIdentifier() |
OdpsParser.FunctionParametersContext |
functionParameters() |
int |
getRuleIndex() |
org.antlr.v4.runtime.tree.TerminalNode |
KW_AS() |
org.antlr.v4.runtime.tree.TerminalNode |
KW_FUNCTION() |
org.antlr.v4.runtime.tree.TerminalNode |
KW_RETURNS() |
OdpsParser.ParameterTypeDeclarationContext |
parameterTypeDeclaration() |
OdpsParser.QueryExpressionWithCTEContext |
queryExpressionWithCTE() |
org.antlr.v4.runtime.tree.TerminalNode |
SEMICOLON() |
OdpsParser.VariableNameContext |
variableName() |
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
public OdpsParser.FunctionIdentifierContext name
public OdpsParser.FunctionParametersContext param
public OdpsParser.VariableNameContext retvar
public OdpsParser.ParameterTypeDeclarationContext retType
public OdpsParser.CompoundStatementContext funBody
public OdpsParser.ExpressionContext expr
public OdpsParser.QueryExpressionWithCTEContext queryExp
public FunctionDefinitionContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
public org.antlr.v4.runtime.tree.TerminalNode KW_FUNCTION()
public org.antlr.v4.runtime.tree.TerminalNode KW_AS()
public OdpsParser.FunctionIdentifierContext functionIdentifier()
public OdpsParser.FunctionParametersContext functionParameters()
public org.antlr.v4.runtime.tree.TerminalNode SEMICOLON()
public org.antlr.v4.runtime.tree.TerminalNode KW_RETURNS()
public OdpsParser.CompoundStatementContext compoundStatement()
public OdpsParser.ExpressionContext expression()
public OdpsParser.QueryExpressionWithCTEContext queryExpressionWithCTE()
public OdpsParser.VariableNameContext variableName()
public OdpsParser.ParameterTypeDeclarationContext parameterTypeDeclaration()
public int getRuleIndex()
getRuleIndex
in class org.antlr.v4.runtime.RuleContext
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
enterRule
in class org.antlr.v4.runtime.ParserRuleContext
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
exitRule
in class org.antlr.v4.runtime.ParserRuleContext
Copyright © 2023 Alibaba Cloud Computing. All rights reserved.