Package com.oracle.truffle.sl.parser
Class SimpleLanguageParser.FunctionContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
com.oracle.truffle.sl.parser.SimpleLanguageParser.FunctionContext
- 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:
SimpleLanguageParser
public static class SimpleLanguageParser.FunctionContext
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
ConstructorsConstructorDescriptionFunctionContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor) block()intList<org.antlr.v4.runtime.tree.TerminalNode> org.antlr.v4.runtime.tree.TerminalNodeIDENTIFIER(int i) 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
-
s
public org.antlr.v4.runtime.Token s -
body
-
-
Constructor Details
-
FunctionContext
public FunctionContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
-
Method Details
-
IDENTIFIER
-
IDENTIFIER
public org.antlr.v4.runtime.tree.TerminalNode IDENTIFIER(int i) -
block
-
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
-