Companion

object Companion

Properties

Link copied to clipboard
const val ARROW_FUNCTION_PROP: Int = 26
Link copied to clipboard
const val ATTRIBUTE_FLAG: Int = 2
Link copied to clipboard
const val BOTH: Int = 0
Link copied to clipboard
const val CASEARRAY_PROP: Int = 5
Link copied to clipboard
const val CATCH_SCOPE_PROP: Int = 14
Link copied to clipboard
const val CONTROL_BLOCK_PROP: Int = 18
Link copied to clipboard
const val DECR_FLAG: Int = 1
Link copied to clipboard
const val DESCENDANTS_FLAG: Int = 4
Link copied to clipboard
Link copied to clipboard
const val DESTRUCTURING_NAMES: Int = 22
Link copied to clipboard
const val DESTRUCTURING_PARAMS: Int = 23
Link copied to clipboard
const val DIRECTCALL_PROP: Int = 9
Link copied to clipboard
const val END_DROPS_OFF: Int = 1
Link copied to clipboard
const val END_RETURNS: Int = 2
Link copied to clipboard
const val END_RETURNS_VALUE: Int = 4
Link copied to clipboard
const val END_UNREACHED: Int = 0

These flags enumerate the ways a statement or function can terminate. END_UNREACHED is reserved for code paths assumed to always execute (throw, continue). END_DROPS_OFF means the statement can transfer control to the next one. END_RETURNS means it can return without arguments, END_RETURNS_VALUE with one.

Link copied to clipboard
const val END_YIELDS: Int = 8
Link copied to clipboard
Link copied to clipboard
const val FIRST_PROP: Int
Link copied to clipboard
const val FUNCTION_PROP: Int = 1
Link copied to clipboard
const val GENERATOR_END_PROP: Int = 20
Link copied to clipboard
const val INCRDECR_PROP: Int = 13
Link copied to clipboard
const val ISNUMBER_PROP: Int = 8
Link copied to clipboard
const val JSDOC_PROP: Int = 24
Link copied to clipboard
const val LABEL_ID_PROP: Int = 15
Link copied to clipboard
const val LAST_PROP: Int
Link copied to clipboard
const val LEFT: Int = 1
Link copied to clipboard
const val LOCAL_BLOCK_PROP: Int = 3
Link copied to clipboard
const val LOCAL_PROP: Int = 2
Link copied to clipboard
const val MEMBER_TYPE_PROP: Int = 16
Link copied to clipboard
const val NAME_PROP: Int = 17
Link copied to clipboard
const val NON_SPECIALCALL: Int = 0
Link copied to clipboard
const val NUMBER_OF_SPREAD: Int = 32
Link copied to clipboard
const val OBJECT_IDS_PROP: Int = 12
Link copied to clipboard
Link copied to clipboard
const val OPTIONAL_CHAINING: Int = 30
Link copied to clipboard
const val PARENTHESIZED_PROP: Int = 19
Link copied to clipboard
const val POST_FLAG: Int = 2
Link copied to clipboard
const val PROPERTY_FLAG: Int = 1
Link copied to clipboard
const val REGEXP_PROP: Int = 4
Link copied to clipboard
const val RIGHT: Int = 2
Link copied to clipboard
const val SKIP_INDEXES_PROP: Int = 11
Link copied to clipboard
const val SPECIALCALL_EVAL: Int = 1
Link copied to clipboard
const val SPECIALCALL_PROP: Int = 10
Link copied to clipboard
const val SPECIALCALL_WITH: Int = 2
Link copied to clipboard
const val SUPER_PROPERTY_ACCESS: Int = 31
Link copied to clipboard
const val TARGETBLOCK_PROP: Int = 6
Link copied to clipboard
const val TEMPLATE_LITERAL_PROP: Int = 27
Link copied to clipboard
const val TRAILING_COMMA: Int = 28
Link copied to clipboard
const val VARIABLE_PROP: Int = 7

Functions

Link copied to clipboard
fun newNumber(number: Double): Node
Link copied to clipboard
fun newString(str: String): Node
fun newString(type: Int, str: String): Node
Link copied to clipboard