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/jsyaml2lowLevel"
ASTNode
Class ASTNode
Hierarchy
ASTNode
Implements
ILowLevelASTNode
Index
Constructors
constructor
Properties
_anchor
_children
_errors
_high
Level
Node
_high
Level
Parse
Result
_include
_includes
Contents
_node
_old
Text
_parent
_unit
cache
Children
inner
Include
Errors
Methods
_actual
Node
actual
add
Child
add
Include
Error
anchor
Id
anchor
Value
Kind
anchored
From
as
Map
as
Mapping
as
Scalar
as
Seq
can
Include
children
copy
direct
Children
dump
dump
Node
dump
ToObject
end
errors
execute
find
gather
Includes
get
Include
String
has
Inner
Include
Error
high
Level
Node
high
Level
Parse
Result
include
Base
Unit
include
Errors
include
Path
include
Reference
included
From
includes
Contents
indent
inlined
is
Annotated
Scalar
is
Map
is
Mapping
is
Scalar
is
Seq
is
Value
Include
is
Value
Local
is
Value
Map
is
Value
Scalar
is
Value
Seq
join
Mappings
With
Full
Include
Anchor
key
key
End
key
Kind
key
Start
kind
kind
Name
markup
markup
Node
node
Definition
node
Short
Text
optional
parent
parent
OfKind
print
Details
raw
Key
recalc
End
Position
From
Childs
remove
Child
replace
Newlines
root
set
High
Level
Node
set
High
Level
Parse
Result
set
Includes
Contents
set
Unit
shift
Nodes
short
Text
show
show
Parents
start
text
unit
update
From
value
value
AsInclude
value
AsMap
value
AsScalar
value
AsSeq
value
End
value
Kind
value
Kind
Name
value
Start
visit
yaml
Node
Constructors
constructor
new ASTNode
(
_node
:
YAMLNode
, _unit
:
ICompilationUnit
, _parent
:
ASTNode
, _anchor
:
ASTNode
, _include
:
ASTNode
, cacheChildren
?:
boolean
, _includesContents
?:
boolean
)
:
ASTNode
Parameters
_node:
YAMLNode
_unit:
ICompilationUnit
_parent:
ASTNode
_anchor:
ASTNode
_include:
ASTNode
Default value
cacheChildren:
boolean
= false
Default value
_includesContents:
boolean
= false
Returns
ASTNode
Properties
Private
_anchor
_anchor
:
ASTNode
_children
_children
:
ILowLevelASTNode
[]
_errors
_errors
:
Error
[]
Private
_high
Level
Node
_high
Level
Node
:
IHighLevelNode
Private
_high
Level
Parse
Result
_high
Level
Parse
Result
:
IParseResult
Private
_include
_include
:
ASTNode
Private
_includes
Contents
_includes
Contents
:
boolean
Private
_node
_node
:
YAMLNode
_old
Text
_old
Text
:
any
Private
_parent
_parent
:
ASTNode
Private
_unit
_unit
:
ICompilationUnit
Private
cache
Children
cache
Children
:
boolean
inner
Include
Errors
inner
Include
Errors
:
boolean
Methods
_actual
Node
_actual
Node
(
)
:
YAMLNode
Returns
YAMLNode
actual
actual
(
)
:
any
Returns
any
add
Child
add
Child
(
n
:
ILowLevelASTNode
, pos
?:
number
)
:
void
Parameters
n:
ILowLevelASTNode
Default value
pos:
number
= -1
Returns
void
add
Include
Error
add
Include
Error
(
error
:
Error
)
:
void
Parameters
error:
Error
Returns
void
anchor
Id
anchor
Id
(
)
:
string
Returns
string
anchor
Value
Kind
anchor
Value
Kind
(
)
:
Kind
Returns
Kind
anchored
From
anchored
From
(
)
:
ILowLevelASTNode
Returns
ILowLevelASTNode
as
Map
as
Map
(
)
:
YamlMap
Returns
YamlMap
as
Mapping
as
Mapping
(
)
:
YAMLMapping
Returns
YAMLMapping
as
Scalar
as
Scalar
(
)
:
YAMLScalar
Returns
YAMLScalar
as
Seq
as
Seq
(
)
:
YAMLSequence
Returns
YAMLSequence
can
Include
can
Include
(
unit
:
ICompilationUnit
)
:
boolean
Parameters
unit:
ICompilationUnit
Returns
boolean
children
children
(
inc
?:
ASTNode
, anc
?:
ASTNode
, inOneMemberMap
?:
boolean
)
:
ILowLevelASTNode
[]
Parameters
Default value
inc:
ASTNode
= null
Default value
anc:
ASTNode
= null
Default value
inOneMemberMap:
boolean
= true
Returns
ILowLevelASTNode
[]
copy
copy
(
)
:
ASTNode
Returns
ASTNode
direct
Children
direct
Children
(
inc
?:
ASTNode
, anc
?:
ASTNode
, inOneMemberMap
?:
boolean
)
:
ILowLevelASTNode
[]
Parameters
Default value
inc:
ASTNode
= null
Default value
anc:
ASTNode
= null
Default value
inOneMemberMap:
boolean
= true
Returns
ILowLevelASTNode
[]
dump
dump
(
)
:
string
Returns
string
dump
Node
dump
Node
(
n
:
YAMLNode
, full
?:
boolean
)
:
any
Parameters
n:
YAMLNode
Default value
full:
boolean
= false
Returns
any
dump
ToObject
dump
ToObject
(
full
?:
boolean
)
:
any
Parameters
Default value
full:
boolean
= false
Returns
any
end
end
(
)
:
number
Returns
number
errors
errors
(
)
:
Array
<
Error
>
Returns
Array
<
Error
>
execute
execute
(
cmd
:
CompositeCommand
)
:
void
Parameters
cmd:
CompositeCommand
Returns
void
find
find
(
name
:
string
)
:
ASTNode
Parameters
name:
string
Returns
ASTNode
gather
Includes
gather
Includes
(
s
?:
object
[]
, inc
?:
ASTNode
, anc
?:
ASTNode
, inOneMemberMap
?:
boolean
)
:
void
Parameters
Default value
s:
object
[]
= []
include
Path
:
function
include
Path
(
)
:
string
Returns
string
Default value
inc:
ASTNode
= null
Default value
anc:
ASTNode
= null
Default value
inOneMemberMap:
boolean
= true
Returns
void
get
Include
String
get
Include
String
(
)
:
string
Returns
string
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
(
)
:
string
[]
Returns
string
[]
include
Path
include
Path
(
)
:
string
Returns
string
include
Reference
include
Reference
(
)
:
IncludeReference
Returns
IncludeReference
included
From
included
From
(
)
:
ILowLevelASTNode
Returns
ILowLevelASTNode
includes
Contents
includes
Contents
(
)
:
boolean
Returns
boolean
indent
indent
(
lev
:
number
, str
?:
string
)
:
string
Parameters
lev:
number
Default value
str:
string
= ""
Returns
string
inlined
inlined
(
kind
:
Kind
)
:
boolean
Parameters
kind:
Kind
Returns
boolean
is
Annotated
Scalar
is
Annotated
Scalar
(
)
:
boolean
Returns
boolean
is
Map
is
Map
(
)
:
boolean
Returns
boolean
is
Mapping
is
Mapping
(
)
:
boolean
Returns
boolean
is
Scalar
is
Scalar
(
)
:
boolean
Returns
boolean
is
Seq
is
Seq
(
)
:
boolean
Returns
boolean
is
Value
Include
is
Value
Include
(
)
:
boolean
Returns
boolean
is
Value
Local
is
Value
Local
(
)
:
boolean
Returns
boolean
is
Value
Map
is
Value
Map
(
)
:
boolean
Returns
boolean
is
Value
Scalar
is
Value
Scalar
(
)
:
boolean
Returns
boolean
is
Value
Seq
is
Value
Seq
(
)
:
boolean
Returns
boolean
join
Mappings
With
Full
Include
Anchor
join
Mappings
With
Full
Include
Anchor
(
mappings
:
YAMLMapping
[]
, inc
:
ASTNode
, anc
:
ASTNode
)
:
ILowLevelASTNode
[]
Joins current mappings with mappings from "<<" anchor, if there is one.
Parameters
mappings:
YAMLMapping
[]
inc:
ASTNode
anc:
ASTNode
Returns
ILowLevelASTNode
[]
key
key
(
raw
?:
boolean
)
:
string
Parameters
Default value
raw:
boolean
= false
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
kind
Name
kind
Name
(
)
:
string
Returns
string
markup
markup
(
json
?:
boolean
)
:
string
Parameters
Default value
json:
boolean
= false
Returns
string
markup
Node
markup
Node
(
xbuf
:
MarkupIndentingBuffer
, node
:
YAMLNode
, lev
:
number
, json
?:
boolean
)
:
void
Parameters
xbuf:
MarkupIndentingBuffer
node:
YAMLNode
lev:
number
Default value
json:
boolean
= false
Returns
void
node
Definition
node
Definition
(
)
:
highlevel.INodeDefinition
Returns
highlevel.INodeDefinition
node
Short
Text
node
Short
Text
(
node
:
YAMLNode
, unittext
:
string
, maxlen
?:
number
)
:
string
Parameters
node:
YAMLNode
unittext:
string
Default value
maxlen:
number
= 50
Returns
string
optional
optional
(
)
:
boolean
Returns
boolean
parent
parent
(
)
:
ASTNode
Returns
ASTNode
parent
OfKind
parent
OfKind
(
kind
:
Kind
)
:
ASTNode
Parameters
kind:
Kind
Returns
ASTNode
print
Details
print
Details
(
indent
?:
string
)
:
string
Parameters
Optional
indent:
string
Returns
string
Private
raw
Key
raw
Key
(
)
:
string
Returns
string
recalc
End
Position
From
Childs
recalc
End
Position
From
Childs
(
)
:
void
Returns
void
remove
Child
remove
Child
(
n
:
ILowLevelASTNode
)
:
void
Parameters
n:
ILowLevelASTNode
Returns
void
replace
Newlines
replace
Newlines
(
s
:
string
, rep
?:
string
)
:
string
Parameters
s:
string
Default value
rep:
string
= null
Returns
string
root
root
(
)
:
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
set
Includes
Contents
set
Includes
Contents
(
includesContents
:
boolean
)
:
void
Parameters
includesContents:
boolean
Returns
void
set
Unit
set
Unit
(
unit
:
ICompilationUnit
)
:
void
Parameters
unit:
ICompilationUnit
Returns
void
shift
Nodes
shift
Nodes
(
offset
:
number
, shift
:
number
, exclude
?:
ASTNode
)
:
any
Parameters
offset:
number
shift:
number
Optional
exclude:
ASTNode
Returns
any
short
Text
short
Text
(
unittext
:
string
, maxlen
?:
number
)
:
string
Parameters
unittext:
string
Default value
maxlen:
number
= 50
Returns
string
show
show
(
message
?:
string
, lev
?:
number
, text
?:
string
)
:
void
Parameters
Default value
message:
string
= null
Default value
lev:
number
= 0
Default value
text:
string
= null
Returns
void
show
Parents
show
Parents
(
message
:
string
, lev
?:
number
)
:
number
Parameters
message:
string
Default value
lev:
number
= 0
Returns
number
start
start
(
)
:
number
Returns
number
text
text
(
unitText
?:
string
)
:
string
Parameters
Default value
unitText:
string
= null
Returns
string
unit
unit
(
)
:
ICompilationUnit
Returns
ICompilationUnit
update
From
update
From
(
n
:
YAMLNode
)
:
void
Parameters
n:
YAMLNode
Returns
void
value
value
(
toString
?:
boolean
)
:
any
Parameters
Optional
toString:
boolean
Returns
any
value
AsInclude
value
AsInclude
(
)
:
YAMLScalar
Returns
YAMLScalar
value
AsMap
value
AsMap
(
)
:
YamlMap
Returns
YamlMap
value
AsScalar
value
AsScalar
(
)
:
YAMLScalar
Returns
YAMLScalar
value
AsSeq
value
AsSeq
(
)
:
YAMLSequence
Returns
YAMLSequence
value
End
value
End
(
)
:
number
Returns
number
value
Kind
value
Kind
(
)
:
Kind
Returns
Kind
value
Kind
Name
value
Kind
Name
(
)
:
string
Returns
string
value
Start
value
Start
(
)
:
number
Returns
number
visit
visit
(
v
:
ASTVisitor
)
:
void
Parameters
v:
ASTVisitor
Returns
void
yaml
Node
yaml
Node
(
)
:
YAMLNode
Returns
YAMLNode
Globals
"src/raml1/jsyaml/jsyaml2low
Level"
Insertion
Point
Type
Response
Error
Xhr
Async
Xhr
Sync
atom
breaks
The
Line
buildXHR
copy
Node
create
Map
create
Map
Node
create
Mapping
create
Node
create
Scalar
create
Seq
create
Seq
Node
extra
Indent
fetch
Includes
And
Master
Async
fetch
Master
Reference
get
Definition
For
Low
Level
Node
indent
indent
Lines
inner
Shift
leading
Indent
split
OnLines
strip
Indent
to
Child
Caching
Node
to
Including
Node
try
Parse
Scalar
Kind
Generated using
TypeDoc
Joins current mappings with mappings from "<<" anchor, if there is one.