|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rule | |
---|---|
com.sonar.c.api | |
com.sonar.sslr.api |
Uses of Rule in com.sonar.c.api |
---|
Methods in com.sonar.c.api that return Rule | |
---|---|
Rule |
CPreprocessorGrammar.getRootRule()
|
Rule |
CGrammar.getRootRule()
|
Uses of Rule in com.sonar.sslr.api |
---|
Methods in com.sonar.sslr.api that return Rule | |
---|---|
Rule |
Rule.and(java.lang.Object... matchers)
The method is(Object...) must be first called to be able to extend this rule definition |
abstract Rule |
Grammar.getRootRule()
Each Grammar has always an entry point whose name is usually by convention the "Computation Unit". |
Rule |
Rule.is(java.lang.Object... matchers)
This method allows to provide the definition of a context-free grammar rule. |
Rule |
Rule.isOr(java.lang.Object... matchers)
The method is(Object...) is just a utility method which prevents writing is(or()); |
Rule |
Rule.or(java.lang.Object... matchers)
The method is(Object...) must be first called to be able to add a new alternative to this rule |
Rule |
Rule.orBefore(java.lang.Object... matchers)
The method is(Object...) must be first called to be able to add a new alternative to this rule. |
Rule |
Rule.override(java.lang.Object... matchers)
This method has the same effect as RuleImpl#is(Object...) , except that it can be called more than once to redefine a rule from
scratch. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |