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/ast.core/expander"
ValueTransformer
Class ValueTransformer
Hierarchy
ValueTransformer
DefaultTransformer
Implements
ValueTransformer
Index
Constructors
constructor
Properties
params
structured
Params
template
Kind
template
Name
units
Chain
v
Delegate
Methods
children
param
Name
param
Upper
Bound
substitution
Node
transform
value
Kind
Constructors
constructor
new
Value
Transformer
(
templateKind
:
string
, templateName
:
string
, unitsChain
:
ICompilationUnit
[]
, params
?:
object
, structuredParams
?:
object
, vDelegate
?:
ValueTransformer
)
:
ValueTransformer
Parameters
templateKind:
string
templateName:
string
unitsChain:
ICompilationUnit
[]
Optional
params:
object
[
key:
string
]:
string
Optional
structuredParams:
object
[
key:
string
]:
ILowLevelASTNode
Optional
vDelegate:
ValueTransformer
Returns
ValueTransformer
Properties
Optional
params
params
:
object
Type declaration
[
key:
string
]:
string
Optional
structured
Params
structured
Params
:
object
Type declaration
[
key:
string
]:
ILowLevelASTNode
template
Kind
template
Kind
:
string
template
Name
template
Name
:
string
units
Chain
units
Chain
:
ICompilationUnit
[]
Optional
v
Delegate
v
Delegate
:
ValueTransformer
Methods
children
children
(
node
:
ILowLevelASTNode
)
:
ILowLevelASTNode
[]
Parameters
node:
ILowLevelASTNode
Returns
ILowLevelASTNode
[]
Private
param
Name
param
Name
(
node
:
ILowLevelASTNode
)
:
string
Parameters
node:
ILowLevelASTNode
Returns
string
Private
param
Upper
Bound
param
Upper
Bound
(
str
:
string
, pos
:
number
)
:
number
Parameters
str:
string
pos:
number
Returns
number
Private
substitution
Node
substitution
Node
(
node
:
ILowLevelASTNode
)
:
ILowLevelASTNode
Parameters
node:
ILowLevelASTNode
Returns
ILowLevelASTNode
transform
transform
(
obj
:
any
, toString
?:
boolean
, doBreak
?:
function
, callback
?:
function
)
:
object
Parameters
obj:
any
Optional
toString:
boolean
Optional
doBreak:
function
(
)
:
boolean
Returns
boolean
Optional
callback:
function
(
obj
:
any
, transformer
:
DefaultTransformer
)
:
any
Parameters
obj:
any
transformer:
DefaultTransformer
Returns
any
Returns
object
errors
:
Array
<
ValidationIssue
>
value
:
any
value
Kind
value
Kind
(
node
:
ILowLevelASTNode
)
:
Kind
Parameters
node:
ILowLevelASTNode
Returns
Kind
Globals
"src/raml1/ast.core/expander"
Generic
Data
Resource
Generic
Data
change
Case
default
Parameters
transformers
expand
Libraries
expand
Traits
And
Resource
Types
get
Transform
Names
get
Transformer
For
Occurence
mergeAPIs
merge
High
Level
Nodes
to
Units
to
Units1
to
Units2
Generated using
TypeDoc