public class StructDecl extends Decl
Modifier and Type | Field and 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 |
enclosingBlock, enclosingRuleRunction, uniqueID
ast, factory
Constructor and Description |
---|
StructDecl(OutputModelFactory factory,
Rule r) |
Modifier and Type | Method and Description |
---|---|
void |
addDecl(Attribute a) |
void |
addDecl(Decl d) |
void |
addDecls(Collection<Attribute> attrList) |
void |
addDispatchMethods(Rule r) |
void |
addExtensionMember(OutputModelObject member) |
void |
implementInterface(OutputModelObject value) |
boolean |
isEmpty() |
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–2020 ANTLR. All rights reserved.