AltLabelStructDecl
public class StructDecl extends Decl
Modifier and Type | Field | Description |
---|---|---|
OrderedHashSet<Decl> |
attributeDecls |
|
OrderedHashSet<Decl> |
attrs |
|
Collection<AttributeDecl> |
ctorAttrs |
|
String |
derivedFromName |
|
List<? super DispatchMethod> |
dispatchMethods |
|
List<OutputModelObject> |
extensionMembers |
|
OrderedHashSet<Decl> |
getters |
|
List<OutputModelObject> |
interfaces |
|
boolean |
provideCopyFrom |
|
OrderedHashSet<Decl> |
ruleContextDecls |
|
OrderedHashSet<Decl> |
ruleContextListDecls |
|
OrderedHashSet<Decl> |
tokenDecls |
|
OrderedHashSet<Decl> |
tokenListDecls |
|
OrderedHashSet<Decl> |
tokenTypeDecls |
ast, factory
enclosingBlock, enclosingRuleRunction, uniqueID
Constructor | Description |
---|---|
StructDecl(OutputModelFactory factory,
Rule r) |
Modifier and Type | Method | Description |
---|---|---|
void |
addDecl(Decl d) |
|
void |
addDecl(Attribute a) |
|
void |
addDecls(Collection<Attribute> attrList) |
|
void |
addDispatchMethods(Rule r) |
|
void |
addExtensionMember(OutputModelObject member) |
|
void |
implementInterface(OutputModelObject value) |
|
boolean |
isEmpty() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getContextName, getOuterMostAltCodeBlock
public String derivedFromName
public boolean provideCopyFrom
public OrderedHashSet<Decl> attrs
public OrderedHashSet<Decl> getters
public Collection<AttributeDecl> ctorAttrs
public List<? super DispatchMethod> dispatchMethods
public List<OutputModelObject> interfaces
public List<OutputModelObject> extensionMembers
public OrderedHashSet<Decl> tokenDecls
public OrderedHashSet<Decl> tokenTypeDecls
public OrderedHashSet<Decl> tokenListDecls
public OrderedHashSet<Decl> ruleContextDecls
public OrderedHashSet<Decl> ruleContextListDecls
public OrderedHashSet<Decl> attributeDecls
public StructDecl(OutputModelFactory factory, Rule r)
public void addDispatchMethods(Rule r)
public void addDecl(Decl d)
public void addDecl(Attribute a)
public void addDecls(Collection<Attribute> attrList)
public void implementInterface(OutputModelObject value)
public void addExtensionMember(OutputModelObject member)
public boolean isEmpty()
Copyright © 1992–2018 ANTLR. All rights reserved.