public class AttributeDict extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AttributeDict.DictType |
| Modifier and Type | Field and Description |
|---|---|
GrammarAST |
ast |
LinkedHashMap<String,Attribute> |
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.DictType |
type |
| Constructor and Description |
|---|
AttributeDict() |
AttributeDict(AttributeDict.DictType type) |
public String name
public GrammarAST ast
public AttributeDict.DictType type
public static final AttributeDict predefinedTokenDict
public LinkedHashMap<String,Attribute> attributes
public AttributeDict()
public AttributeDict(AttributeDict.DictType type)
public String getName()
public int size()
public Set<String> intersection(AttributeDict other)
Copyright © 2012. All Rights Reserved.