Package | Description |
---|---|
org.antlr.v4.parse | |
org.antlr.v4.semantics | |
org.antlr.v4.tool |
Modifier and Type | Method and Description |
---|---|
static AttributeDict |
ScopeParser.parse(ActionAST action,
String s,
char separator,
Grammar g) |
static AttributeDict |
ScopeParser.parseTypedArgList(ActionAST action,
String s,
Grammar g)
Given an arg or retval scope definition list like
|
Modifier and Type | Method and Description |
---|---|
protected void |
SymbolChecks.checkDeclarationRuleConflicts(Rule r,
AttributeDict attributes,
Set<String> ruleNames,
ErrorType errorType) |
protected void |
SymbolChecks.checkLocalConflictingDeclarations(Rule r,
AttributeDict attributes,
AttributeDict referenceAttributes,
ErrorType errorType) |
Modifier and Type | Field and Description |
---|---|
AttributeDict |
Rule.args |
AttributeDict |
Attribute.dict
Who contains us?
|
AttributeDict |
Rule.locals |
static AttributeDict |
Rule.predefinedRulePropertiesDict
Rule refs have a predefined set of attributes as well as
the return values and args.
|
static AttributeDict |
AttributeDict.predefinedTokenDict
All
Token scopes (token labels) share the same fixed scope of
of predefined attributes. |
AttributeDict |
Rule.retvals |
Modifier and Type | Field and Description |
---|---|
static Map<String,AttributeDict> |
Grammar.grammarAndLabelRefTypeToScope |
Modifier and Type | Method and Description |
---|---|
AttributeDict |
Rule.getPredefinedScope(LabelType ltype) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
AttributeDict.intersection(AttributeDict other)
Return the set of keys that collide from
this and other . |
Copyright © 1992–2020 ANTLR. All rights reserved.