abla/xml/write
Generated from source.
Import with import "abla/xml/write".
Source: abla/xml/write/entry.ab
XmlLiteralWritePlan (class)
compile class XmlLiteralWritePlan(
val name: string, val statements: array<SyntaxExpression>, var indices: int
)
Collects statements and temporary indices for an XML writer literal.
ablaXmlWriteStablePlace (compile.fun)
compile fun ablaXmlWriteStablePlace(place: SyntaxExpression): bool
Reports whether the expression is an identifier or an access rooted in one.
ablaXmlWritePlace (compile.fun)
compile fun ablaXmlWritePlace(var plan: XmlLiteralWritePlan, place: SyntaxExpression): SyntaxExpression
Returns the writer place with index expressions saved in temporaries so they are evaluated once.
ablaXmlWritePlaceCopy (compile.fun)
compile fun ablaXmlWritePlaceCopy(place: SyntaxExpression): SyntaxExpression
Copies a prepared writer place for use in a separate generated expression.
ablaXmlWriteLiteralCall (compile.fun)
compile fun ablaXmlWriteLiteralCall(place: SyntaxExpression, method: string,
values: array<SyntaxExpression>): SyntaxExpression
Builds a writer function call with a copy of the writer place as its first argument.
ablaXmlLowerWriterNode (compile.fun)
compile fun ablaXmlLowerWriterNode(place: SyntaxExpression, node: XmlLiteralNode,
var plan: XmlLiteralWritePlan): void
Appends writer calls for the node and its descendants in document order.
ablaXmlParseWriteLiteral (compile.fun)
compile fun ablaXmlParseWriteLiteral(cursor: ParserCursor): SyntaxExpression
Lowers a writer expression and XML element to a block, returning null syntax when parsing or writer validation fails.
$xmlw (sub-language)
#compilerRegisterSubparser("xmlw", ablaXmlParseWriteLiteral)
Writes an inline XML element into the supplied writer and reports invalid markup or writer syntax at compile time.
Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.