Search
Preparing search index...
The search index is not available
RAML JS Parser 2
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"src/raml1/jsyaml/json2lowLevel"
AstNode
Class AstNode
Hierarchy
AstNode
Implements
ILowLevelASTNode
Index
Constructors
constructor
Properties
_high
Level
Node
_high
Level
Parse
Result
_is
Optional
_key
_object
_parent
_unit
options
Methods
actual
add
Child
anchor
Id
anchor
Value
Kind
anchored
From
children
copy
dump
dump
ToObject
end
errors
execute
has
Inner
Include
Error
high
Level
Node
high
Level
Parse
Result
include
Base
Unit
include
Errors
include
Path
include
Reference
included
From
includes
Contents
is
Annotated
Scalar
is
Value
Local
key
key
End
key
Kind
key
Start
kind
markup
node
Definition
optional
parent
set
High
Level
Node
set
High
Level
Parse
Result
show
start
text
unit
value
value
End
value
Kind
value
Start
visit
Constructors
constructor
new
Ast
Node
(
_unit
:
ICompilationUnit
, _object
:
any
, _parent
?:
ILowLevelASTNode
, options
?:
SerializeOptions
, _key
?:
string
)
:
AstNode
Parameters
_unit:
ICompilationUnit
_object:
any
Optional
_parent:
ILowLevelASTNode
Default value
options:
SerializeOptions
= {}
Optional
_key:
string
Returns
AstNode
Properties
Private
_high
Level
Node
_high
Level
Node
:
IHighLevelNode
Private
_high
Level
Parse
Result
_high
Level
Parse
Result
:
IParseResult
Private
_is
Optional
_is
Optional
:
boolean
Protected
Optional
_key
_key
:
string
Protected
_object
_object
:
any
Protected
Optional
_parent
_parent
:
ILowLevelASTNode
Private
_unit
_unit
:
ICompilationUnit
Protected
options
options
:
SerializeOptions
Methods
actual
actual
(
)
:
any
Returns
any
add
Child
add
Child
(
n
:
ILowLevelASTNode
)
:
void
Parameters
n:
ILowLevelASTNode
Returns
void
anchor
Id
anchor
Id
(
)
:
any
Returns
any
anchor
Value
Kind
anchor
Value
Kind
(
)
:
any
Returns
any
anchored
From
anchored
From
(
)
:
AstNode
Returns
AstNode
children
children
(
)
:
any
Returns
any
copy
copy
(
)
:
AstNode
Returns
AstNode
dump
dump
(
)
:
string
Returns
string
dump
ToObject
dump
ToObject
(
)
:
any
Returns
any
end
end
(
)
:
number
Returns
number
errors
errors
(
)
:
Array
<
any
>
Returns
Array
<
any
>
execute
execute
(
cmd
:
CompositeCommand
)
:
void
Parameters
cmd:
CompositeCommand
Returns
void
has
Inner
Include
Error
has
Inner
Include
Error
(
)
:
boolean
Returns
boolean
high
Level
Node
high
Level
Node
(
)
:
IHighLevelNode
Returns
IHighLevelNode
high
Level
Parse
Result
high
Level
Parse
Result
(
)
:
IParseResult
Returns
IParseResult
include
Base
Unit
include
Base
Unit
(
)
:
ICompilationUnit
Returns
ICompilationUnit
include
Errors
include
Errors
(
)
:
Array
<
any
>
Returns
Array
<
any
>
include
Path
include
Path
(
)
:
any
Returns
any
include
Reference
include
Reference
(
)
:
any
Returns
any
included
From
included
From
(
)
:
AstNode
Returns
AstNode
includes
Contents
includes
Contents
(
)
:
boolean
Returns
boolean
is
Annotated
Scalar
is
Annotated
Scalar
(
)
:
boolean
Returns
boolean
is
Value
Local
is
Value
Local
(
)
:
boolean
Returns
boolean
key
key
(
)
:
string
Returns
string
key
End
key
End
(
)
:
number
Returns
number
key
Kind
key
Kind
(
)
:
any
Returns
any
key
Start
key
Start
(
)
:
number
Returns
number
kind
kind
(
)
:
Kind
Returns
Kind
markup
markup
(
json
?:
boolean
)
:
string
Parameters
Optional
json:
boolean
Returns
string
node
Definition
node
Definition
(
)
:
highlevel.INodeDefinition
Returns
highlevel.INodeDefinition
optional
optional
(
)
:
boolean
Returns
boolean
parent
parent
(
)
:
ILowLevelASTNode
Returns
ILowLevelASTNode
set
High
Level
Node
set
High
Level
Node
(
highLevel
:
IHighLevelNode
)
:
void
Parameters
highLevel:
IHighLevelNode
Returns
void
set
High
Level
Parse
Result
set
High
Level
Parse
Result
(
highLevelParseResult
:
IParseResult
)
:
void
Parameters
highLevelParseResult:
IParseResult
Returns
void
show
show
(
msg
:
string
)
:
void
Parameters
msg:
string
Returns
void
start
start
(
)
:
number
Returns
number
text
text
(
unitText
:
string
)
:
string
Parameters
unitText:
string
Returns
string
unit
unit
(
)
:
ICompilationUnit
Returns
ICompilationUnit
value
value
(
)
:
any
Returns
any
value
End
value
End
(
)
:
number
Returns
number
value
Kind
value
Kind
(
)
:
Kind
Returns
Kind
value
Start
value
Start
(
)
:
number
Returns
number
visit
visit
(
v
:
ASTVisitor
)
:
void
Parameters
v:
ASTVisitor
Returns
void
Globals
"src/raml1/jsyaml/json2low
Level"
Serialize
Options
Error
collect
Errors
escape
Key
serialize
serialize2
unescape
Key
Generated using
TypeDoc