AttributeDecl
, ContextGetterDecl
, ElementListDecl
, RuleContextDecl
, StructDecl
, TokenDecl
, TokenTypeDecl
public class Decl extends SrcOp
Modifier and Type | Field | Description |
---|---|---|
StructDecl |
ctx |
|
String |
decl |
|
boolean |
isLocal |
|
String |
name |
ast, factory
enclosingBlock, enclosingRuleRunction, uniqueID
Constructor | Description |
---|---|
Decl(OutputModelFactory factory,
String name) |
|
Decl(OutputModelFactory factory,
String name,
String decl) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
If same name, can't redefine, unless it's a getter
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getContextName, getOuterMostAltCodeBlock
public String name
public String decl
public boolean isLocal
public StructDecl ctx
public Decl(OutputModelFactory factory, String name, String decl)
public Decl(OutputModelFactory factory, String name)
Copyright © 1992–2019 ANTLR. All rights reserved.