Class: AssignNode
Implements
Constructors
new AssignNode()
new AssignNode(
token
,name
,expression
):AssignNode
Parameters
• token: Token
The token that started this node. Used to add line and column numbers to error messages.
• name: string
• expression: Expression
Returns
Defined in
Properties
expression
readonly
expression:Expression
Defined in
name
readonly
name:string
Defined in
token
readonly
token:Token
The token that started this node. Used to add line and column numbers to error messages.
Implementation of
Defined in
Methods
children()
children():
ChildNode
[]
Return an array of child nodes.
Returns
Implementation of
Defined in
render()
render(
context
):Promise
<void
>
Render this node to the given output stream.
Parameters
• context: RenderContext
The active render context.
Returns
Promise
<void
>
Implementation of
Defined in
renderSync()
renderSync(
context
):void
A synchronous version of render.
Parameters
• context: RenderContext
Returns
void