Package org.antlr.v4.codegen.model.decl
Class RuleContextDecl
- 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.RuleContextDecl
-
- Direct Known Subclasses:
RuleContextListDecl
public class RuleContextDecl extends Decl
-
-
Field Summary
Fields Modifier and Type Field Description String
ctxName
boolean
isImplicit
-
Fields inherited from class org.antlr.v4.codegen.model.decl.Decl
ctx, decl, escapedName, isLocal, name
-
Fields inherited from class org.antlr.v4.codegen.model.SrcOp
enclosingBlock, enclosingRuleRunction, uniqueID
-
Fields inherited from class org.antlr.v4.codegen.model.OutputModelObject
ast, factory
-
-
Constructor Summary
Constructors Constructor Description RuleContextDecl(OutputModelFactory factory, String name, String ctxName)
-
Method Summary
-
Methods inherited from class org.antlr.v4.codegen.model.SrcOp
getContextName, getOuterMostAltCodeBlock
-
-
-
-
Field Detail
-
ctxName
public String ctxName
-
isImplicit
public boolean isImplicit
-
-
Constructor Detail
-
RuleContextDecl
public RuleContextDecl(OutputModelFactory factory, String name, String ctxName)
-
-