Class: TableRowTag
A class that implements the Tag interface is responsible for
parsing one or more tokens from a token stream, and returning
an ast.Node to be added into the abstract syntax tree.
Implements
Constructors
new TableRowTag()
new TableRowTag():
TableRowTag
Returns
Properties
block
readonlyblock:true=true
Defined in
src/builtin/tags/tablerow.ts:19
end
readonlyend:string=TAG_ENDTABLEROW
Defined in
src/builtin/tags/tablerow.ts:21
name
readonlyname:string=TAG_TABLEROW
Defined in
src/builtin/tags/tablerow.ts:20
nodeClass
protectednodeClass: typeofTableRowNode=TableRowNode
Defined in
src/builtin/tags/tablerow.ts:22
END_TAGBLOCK
protectedstaticEND_TAGBLOCK:Set<string>
Defined in
src/builtin/tags/tablerow.ts:18
Methods
parse()
parse(
stream,environment):Node
Create a syntax tree node by parsing tokens from the token stream.
If implementing a block tag (one with a start and end tag), the stream should be left with the end tag as its current token.
Parameters
• stream: TokenStream
A stream of template tokens.
• environment: Environment
The active environment.