public class AttributeDict extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AttributeDict
|
| Modifier and Type | Field and Description |
|---|---|
GrammarAST |
ast
|
LinkedHashMap |
attributes
The list of
Attribute objects.
|
String |
name
|
static AttributeDict |
predefinedTokenDict
All
Token scopes (token labels) share the same fixed scope of of predefined attributes.
|
AttributeDict |
type
|
| Constructor and Description |
|---|
AttributeDict()
|
AttributeDict(AttributeDict
|
public Stringname
public GrammarASTast
public AttributeDict.DictType type
public static final AttributeDictpredefinedTokenDict
Token scopes (token labels) share the same fixed scope of of predefined attributes. I keep this out of the
Token interface to avoid a runtime type leakage.
public final LinkedHashMap<String ,Attribute > attributes
Attribute objects.
public AttributeDict()
public AttributeDict(AttributeDict.DictType type)