Description
The xdom:call type is used to represent call nodes within an xdom tree.
Type xdom:call
@x:type xdom:call
Self Function sys:Init
@x:func sys:Init(func~xdom, |
||||||||||||||||||||||||
|
Semantics
Initializes a new xdom:call tree node.Self Var func
@x:var func~xdom |
Semantics
The tree for the function being called.Self Const size
@x:const size~int |
Semantics
The number of xdom tree nodes that are parameters of the call.LHS/RHS Self Function sys:Subscript
@x:func sys:Subscript(index~int) | ||
|
Semantics
The indexth parameter.Self Function insert
@x:func insert(val, |
||||
|
Semantics
Inserts the new value at the specified position. If the position is 0, the value is inserted at the beginning of the parameter list. Otherwise, the value is inserted after the pos parameter.Self Function delete
@x:func delete(pos~int)~void | ||
|
Semantics
The parameter at the specified position is deleted from the parameter list.Self Const all
@x:const all~func |
Semantics
An iterator function that iterates over all the parameters.Type Function sys:Eq
@x:func sys:Eq(a~xdom:call, |
||||
|
Semantics
If a and b are the same tree node, then the result is true, else the result is false.Type Function sys:Ne
@x:func sys:Ne(a~xdom:call, |
||||
|
Semantics
If a and b are the same tree node, then the result is false, else the result is true.Self Var noStep
@x:var noStep~boolean |
Semantics
The debugger should not break before or after this node when in single step mode.Self Var breakBefore
@x:var breakBefore~boolean |
Semantics
The debugger should break before executing this node.Self Var breakAfter
@x:var breakAfter~boolean |
Semantics
The debugger should break after executing this node.Self Var mark1
@x:var mark1~boolean |
Semantics
A boolean used for directed graph traversal.Self Var mark2
@x:var mark2~boolean |
Semantics
A boolean used for directed graph traversal.Self Var mark3
@x:var mark3~boolean |
Semantics
A boolean used for directed graph traversal.Self Var label
@x:var label~string |
Semantics
A label name used when unparsing directed graphs.Self Var spaceBefore
@x:var spaceBefore~enum["empty","space","line","lines","erase"] |
Semantics
The amount of space present between the last non-blank character before this xdom item and the beginning of this xdom item.Self Var spaceAfter
@x:var spaceAfter~enum["empty","space","line","lines","erase"] |
Semantics
The amount of space present between the end of this xdom item and the next non-blank character.Self Var kind
@x:var kind~enum["normal","op","dot","double","single","long","short","subscript","list"] |
Semantics
The kind of syntactic sugar for this element.
"normal" | f(x) |
"op" | a + b |
"dot" | a.b |
"double" | "abc&foo;def" |
"single" | 'abc&foo;def' |
"long" | x:/* a long comment */ |
"short" | x:// comment |
"subscript" | f(x)#v |
"list" | [2,3] |