Package org.rumbledb.parser.jsoniq
Class JsoniqParser.FunctionDeclContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
org.rumbledb.parser.jsoniq.JsoniqParser.FunctionDeclContext
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTree,org.antlr.v4.runtime.tree.RuleNode,org.antlr.v4.runtime.tree.SyntaxTree,org.antlr.v4.runtime.tree.Tree
- Enclosing class:
- JsoniqParser
public static class JsoniqParser.FunctionDeclContext
extends org.antlr.v4.runtime.ParserRuleContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.antlr.v4.runtime.TokenFields inherited from class org.antlr.v4.runtime.ParserRuleContext
children, EMPTY, exception, start, stopFields inherited from class org.antlr.v4.runtime.RuleContext
invokingState, parent -
Constructor Summary
ConstructorsConstructorDescriptionFunctionDeclContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) -
Method Summary
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, enterRule, exitRule, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoStringMethods inherited from class org.antlr.v4.runtime.RuleContext
depth, getAltNumber, getPayload, getRuleContext, getText, isEmpty, setAltNumber, setParent, toString, toString, toString, toString, toString, toStringTree, toStringTree, toStringTree
-
Field Details
-
fn_name
-
return_type
-
fn_body
-
is_external
public org.antlr.v4.runtime.Token is_external
-
-
Constructor Details
-
FunctionDeclContext
public FunctionDeclContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
-
Method Details
-
Kdeclare
public org.antlr.v4.runtime.tree.TerminalNode Kdeclare() -
annotations
-
qname
-
paramList
-
Kas
public org.antlr.v4.runtime.tree.TerminalNode Kas() -
sequenceType
-
statementsAndOptionalExpr
-
getRuleIndex
public int getRuleIndex()- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor) - Specified by:
acceptin interfaceorg.antlr.v4.runtime.tree.ParseTree- Overrides:
acceptin classorg.antlr.v4.runtime.RuleContext
-