Class ContextRuleGetterDecl
java.lang.Object
org.antlr.v4.codegen.model.OutputModelObject
org.antlr.v4.codegen.model.SrcOp
org.antlr.v4.codegen.model.decl.Decl
org.antlr.v4.codegen.model.decl.ContextGetterDecl
org.antlr.v4.codegen.model.decl.ContextRuleGetterDecl
public XContext X() { }-
Field Summary
FieldsFields inherited from class ContextGetterDecl
signatureFields inherited from class SrcOp
enclosingBlock, enclosingRuleRunction, uniqueIDFields inherited from class OutputModelObject
ast, factory -
Constructor Summary
ConstructorsConstructorDescriptionContextRuleGetterDecl(OutputModelFactory factory, String name, String ctxName, boolean optional) ContextRuleGetterDecl(OutputModelFactory factory, String name, String ctxName, boolean optional, boolean signature) -
Method Summary
Methods inherited from class ContextGetterDecl
equals, getArgType, hashCodeMethods inherited from class SrcOp
getContextName, getOuterMostAltCodeBlock
-
Field Details
-
ctxName
-
optional
public boolean optional
-
-
Constructor Details
-
ContextRuleGetterDecl
public ContextRuleGetterDecl(OutputModelFactory factory, String name, String ctxName, boolean optional) -
ContextRuleGetterDecl
public ContextRuleGetterDecl(OutputModelFactory factory, String name, String ctxName, boolean optional, boolean signature)
-
-
Method Details
-
getSignatureDecl
- Specified by:
getSignatureDeclin classContextGetterDecl
-