Package | Description |
---|---|
org.stekikun.dolmen.syntax |
Modifier and Type | Method and Description |
---|---|
static PGrammars.Sort |
PGrammars.Sort.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PGrammars.Sort[] |
PGrammars.Sort.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,List<PGrammars.Sort>> |
PGrammars.analyseGrammar(PGrammar grammar,
@Nullable PGrammars.Dependencies dependencies_,
Reporter reporter)
This analyses various rule applications in the parametric
grammar
grammar by inferring sorts
for all the rules' formal parameters and checking that
effective parameters in all applications are abiding by
the constraints expressed by the sorts. |