XmlGrammarDefinition<TNode, TName> class
abstract
XML grammar definition with TNode
and TName
.
- Inheritance
-
- Object
- XmlProductionDefinition
- XmlGrammarDefinition
- Implementers
- Annotations
-
- @Deprecated('Avoid directly depending on the XML grammar')
Constructors
- XmlGrammarDefinition(XmlEntityMapping entityMapping)
Properties
- entityMapping → XmlEntityMapping
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attribute(
) → Parser -
override
-
attributes(
) → Parser -
inherited
-
attributeValue(
) → Parser -
inherited
-
attributeValueDouble(
) → Parser -
override
-
attributeValueSingle(
) → Parser -
override
-
build<
T> ({Function? start, List< Object> arguments = const []}) → Parser<T> -
Builds a composite parser from this definition.
inherited
-
buildFrom<
T> (Parser< T> parser) → Parser<T> -
Builds a composite parser starting at the specified production.
inherited
-
cdata(
) → Parser -
override
-
characterData(
) → Parser -
override
-
comment(
) → Parser -
override
-
content(
) → Parser -
inherited
-
createAttribute(
TName name, String text, XmlAttributeType type) → TNode -
createCDATA(
String text) → TNode -
createComment(
String text) → TNode -
createDeclaration(
Iterable< TNode> attributes) → TNode -
createDoctype(
String text) → TNode -
createDocument(
Iterable< TNode> children) → TNode -
createDocumentFragment(
Iterable< TNode> children) → TNode -
createElement(
TName name, Iterable< TNode> attributes, Iterable<TNode> children, bool isSelfClosing) → TNode -
createProcessing(
String target, String text) → TNode -
createQualified(
String name) → TName -
createText(
String text) → TNode -
declaration(
) → Parser -
override
-
doctype(
) → Parser -
override
-
document(
) → Parser -
override
-
documentFragment(
) → Parser -
override
-
documentFragmentContent(
) → Parser -
inherited
-
element(
) → Parser -
override
-
misc(
) → Parser -
inherited
-
nameChar(
) → Parser -
inherited
-
nameStartChar(
) → Parser -
inherited
-
nameToken(
) → Parser -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processing(
) → Parser -
override
-
qualified(
) → Parser -
override
-
space(
) → Parser -
inherited
-
spaceOptional(
) → Parser -
inherited
-
spaceText(
) → Parser -
override
-
start(
) → Parser -
The starting production of this definition.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited