NodeType

class NodeType

Each node in a syntax tree has a type, which describes its role and the information associated with it.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun is(nameOrGroup: String): Boolean

Check whether this type is part of a given group (via NodeProp.group).

Link copied to clipboard
fun <T> prop(prop: NodeProp<T>): T?

Look up a prop on this type.

Link copied to clipboard
open override fun toString(): String