NodeWithVariables

A node which has a list of variables.

Inheritors

Functions

Link copied to clipboard
open fun addVariable(variableDeclarator: VariableDeclarator): N
Link copied to clipboard
Link copied to clipboard
open fun getCommonType(): Type
Returns the type that is shared between all variables.
Link copied to clipboard
open fun getElementType(): Type
Returns the element type.
Link copied to clipboard
Returns the type that maximum shared type between all variables.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setAllTypes(newType: Type): N
Sets the type of all variables.
Link copied to clipboard
open fun setVariable(i: Int, variableDeclarator: VariableDeclarator): N
Link copied to clipboard
abstract fun setVariables(variables: NodeList<VariableDeclarator>): N