|
||||||||||
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 |
---|
Subinterfaces of Rule in com.sonar.sslr.api | |
---|---|
interface |
LeftRecursiveRule
A LeftRecursiveRule must be used in place of a Rule in order to support left recursion. |
Methods in com.sonar.sslr.api that return Rule | |
---|---|
Rule |
Rule.and(Object... matchers)
|
Rule |
Grammar.getRootRule()
Each Grammar has always an entry point whose name is usually by convention the "Computation Unit". |
Rule |
Rule.is(Object... matchers)
This method allows the define the current rule as the sequence of the matchers passed as parameters, respecting the order of the given matchers. |
Rule |
Rule.isOr(Object... matchers)
|
Rule |
Rule.or(Object... matchers)
|
Rule |
Rule.orBefore(Object... matchers)
|
Rule |
Rule.override(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. |
Rule |
Rule.plug(Class adapterClass)
|
Rule |
Rule.setListener(AstListener listener)
|
Rule |
Rule.skip()
|
Rule |
Rule.skipIf(AstNodeType policy)
|
Rule |
Rule.skipIfOneChild()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |