Package relaxngcc.grammar
Class Scope
java.lang.Object
relaxngcc.grammar.Pattern
relaxngcc.grammar.Scope
- Direct Known Subclasses:
Grammar
A pattern defined by a <define> and <start>.
A start pattern is represented by
name==null
.- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Incorporates the newly discovered <define>.void
appendBody
(String code) void
appendImport
(String code) void
clear()
getBody()
getParam()
NGCC parameters associated to this scope.int
void
-
Field Details
-
name
Name of this pattern. Copied from the name attribute of the <define> element.For the start pattern, this field is null.
-
-
Constructor Details
-
Scope
-
-
Method Details