XmlGrammarDefinition<TNode, TName> class Null safety

XML grammar definition with TNode and TName.

Inheritance
Implementers

Constructors

XmlGrammarDefinition(XmlEntityMapping entityMapping)

Properties

entityMapping XmlEntityMapping
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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
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 non-existent method or property is accessed. [...]
inherited
processing() Parser
override
qualified() Parser
override
ref<T>(Function callback, [dynamic arg1 = undefined, dynamic arg2 = undefined, dynamic arg3 = undefined, dynamic arg4 = undefined, dynamic arg5 = undefined]) Parser<T>
Reference to a production callback optionally parametrized with arg1, arg2, arg3, arg4, and arg5. [...]
@Deprecated('Use [ref0], [ref1], [ref2], ... instead.'), inherited
ref0<T>(Parser<T> callback()) Parser<T>
Reference to a production callback without any parameters.
inherited
ref1<T, A1>(Parser<T> callback(A1), A1 arg1) Parser<T>
Reference to a production callback parametrized with a single argument arg1.
inherited
ref2<T, A1, A2>(Parser<T> callback(A1, A2), A1 arg1, A2 arg2) Parser<T>
Reference to a production callback parametrized with two arguments arg1 and arg2.
inherited
ref3<T, A1, A2, A3>(Parser<T> callback(A1, A2, A3), A1 arg1, A2 arg2, A3 arg3) Parser<T>
Reference to a production callback parametrized with tree arguments arg1, arg2, and arg3.
inherited
ref4<T, A1, A2, A3, A4>(Parser<T> callback(A1, A2, A3, A4), A1 arg1, A2 arg2, A3 arg3, A4 arg4) Parser<T>
Reference to a production callback parametrized with four arguments arg1, arg2, arg3, and arg4.
inherited
ref5<T, A1, A2, A3, A4, A5>(Parser<T> callback(A1, A2, A3, A4, A5), A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5) Parser<T>
Reference to a production callback parametrized with five arguments arg1, arg2, arg3, arg4, and arg5.
inherited
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