Package com.xcporter
Class KotlinParser.PrimaryExpressionContext
java.lang.Object
org.antlr.v4.runtime.RuleContext
org.antlr.v4.runtime.ParserRuleContext
com.xcporter.KotlinParser.PrimaryExpressionContext
- 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:
- KotlinParser
public static class KotlinParser.PrimaryExpressionContext
extends org.antlr.v4.runtime.ParserRuleContext
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PrimaryExpressionContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState) -
Method Summary
Modifier and Type Method Description KotlinParser.CallableReferenceContextcallableReference()KotlinParser.CollectionLiteralContextcollectionLiteral()voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)KotlinParser.FunctionLiteralContextfunctionLiteral()intgetRuleIndex()KotlinParser.IfExpressionContextifExpression()KotlinParser.JumpExpressionContextjumpExpression()KotlinParser.LiteralConstantContextliteralConstant()KotlinParser.ObjectLiteralContextobjectLiteral()KotlinParser.ParenthesizedExpressionContextparenthesizedExpression()KotlinParser.SimpleIdentifierContextsimpleIdentifier()KotlinParser.StringLiteralContextstringLiteral()KotlinParser.SuperExpressionContextsuperExpression()KotlinParser.ThisExpressionContextthisExpression()KotlinParser.TryExpressionContexttryExpression()KotlinParser.WhenExpressionContextwhenExpression()Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
Constructor Details
-
PrimaryExpressionContext
public PrimaryExpressionContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
-
Method Details
-
parenthesizedExpression
-
simpleIdentifier
-
literalConstant
-
stringLiteral
-
callableReference
-
functionLiteral
-
objectLiteral
-
collectionLiteral
-
thisExpression
-
superExpression
-
ifExpression
-
whenExpression
-
tryExpression
-
jumpExpression
-
getRuleIndex
public int getRuleIndex()- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)- Overrides:
enterRulein classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)- Overrides:
exitRulein classorg.antlr.v4.runtime.ParserRuleContext
-