InlineElement class

A inline element which should be created by InlineParser.

Inheritance
Implemented types

Constructors

InlineElement(String type, {List<SourceSpan> markers = const [], List<InlineObject> children = const [], Map<String, String> attributes = const {}, required SourceLocation end, required SourceLocation start})
const

Properties

attributes Map<String, String>
finalinherited
children List<InlineObject>
finalinherited
end → SourceLocation
The end location of this node.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isBlock bool
finalinherited
markers List<SourceSpan>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start → SourceLocation
The start location of this node.
finalinherited
textContent String
no setterinherited
type String
Such as headline
finalinherited

Methods

accept(NodeVisitor visitor) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap({bool showNull = false, bool showEmpty = false, bool showRuntimeType = false}) Map<String, dynamic>
Outputs the attributes as a Map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited