Package relaxngcc.grammar
Class Grammar
java.lang.Object
relaxngcc.grammar.Pattern
relaxngcc.grammar.Scope
relaxngcc.grammar.Grammar
Set of
Scope
s.
Grammar as Scope
holds information about the start pattern.
This allows us to easily recognize Grammar in the parsed tree.
- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Scope object or return null.getOrCreate
(ParserRuntime rt, String name) Iterates all the namedScope
s in this grammar.redefine
(ParserRuntime rt, String name) Methods inherited from class relaxngcc.grammar.Scope
append, appendBody, appendImport, apply, clear, getBody, getImport, getParam, getParamCount, getPattern, setParam