Package org.antlr.v4.tool
Class AttributeDict
java.lang.Object
org.antlr.v4.tool.AttributeDict
Track the attributes within retval, arg lists etc...
Each rule has potentially 3 scopes: return values, parameters, and an implicitly-named scope (i.e., a scope defined in a rule). Implicitly-defined scopes are named after the rule; rules and scopes then must live in the same name space--no collisions allowed.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal LinkedHashMap
<String, Attribute> The list ofAttribute
objects.static final AttributeDict
AllToken
scopes (token labels) share the same fixed scope of of predefined attributes. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
ast
-
type
-
predefinedTokenDict
-
attributes
The list ofAttribute
objects.
-
-
Constructor Details
-
AttributeDict
public AttributeDict() -
AttributeDict
-
-
Method Details