|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonar.sslr.api.Grammar
public abstract class Grammar
Constructor Summary | |
---|---|
Grammar()
|
Method Summary | |
---|---|
static java.util.List<java.lang.reflect.Field> |
getAllRuleFields(java.lang.Class grammarClass)
Find all direct and indirect rule fields declared in the given Grammar class. |
abstract Rule |
getRootRule()
Each Grammar has always an entry point whose name is usually by convention the "Computation Unit". |
static java.util.List<java.lang.reflect.Field> |
getRuleFields(java.lang.Class grammarClass)
Find all the direct rule fields declared in the given Grammar class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Grammar()
Method Detail |
---|
public static java.util.List<java.lang.reflect.Field> getRuleFields(java.lang.Class grammarClass)
grammarClass
- the class of the Grammar for which rule fields must be found
getAllRuleFields
public static java.util.List<java.lang.reflect.Field> getAllRuleFields(java.lang.Class grammarClass)
grammarClass
- the class of the Grammar for which rule fields must be found
getRuleFields
public abstract Rule getRootRule()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |