toggle menu
cpg
main
jvm
switch theme
search in API
cpg-language-typescript
/
de.fraunhofer.aisec.cpg.frontends.typescript
/
TypeScriptNode
Type
Script
Node
class
TypeScriptNode
(
var
type
:
String
,
var
children
:
List
<
TypeScriptNode
>
?
,
var
location
:
Location
,
var
code
:
String
?
)
Members
Constructors
Type
Script
Node
Link copied to clipboard
constructor
(
type
:
String
,
children
:
List
<
TypeScriptNode
>
?
,
location
:
Location
,
code
:
String
?
)
Properties
children
Link copied to clipboard
var
children
:
List
<
TypeScriptNode
>
?
code
Link copied to clipboard
var
code
:
String
?
location
Link copied to clipboard
var
location
:
Location
type
Link copied to clipboard
var
type
:
String
type
Child
Node
Link copied to clipboard
val
typeChildNode
:
TypeScriptNode
?
Returns the first child node, that represent a type, if it exists.
Functions
first
Child
Link copied to clipboard
fun
firstChild
(
type
:
String
)
:
TypeScriptNode
?