IRNode

org.scalajs.ir.Trees.IRNode
sealed abstract class IRNode

Base class for all nodes in the IR.

Usually, one of the direct subclasses of IRNode should be used instead.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ClassDef
class ClassIdent
class FieldIdent
class JSSpread
class LabelIdent
class LocalIdent
class MemberDef
class AnyFieldDef
class FieldDef
class JSFieldDef
class JSMethodDef
class MethodDef
class MethodIdent
class ParamDef
class Tree
class Apply
class ApplyStatic
class ArrayLength
class ArrayValue
class AsInstanceOf
class Assign
trait AssignLhs
class ArraySelect
class JSGlobalRef
class JSSelect
class RecordSelect
class Select
class SelectStatic
class VarRef
class BinaryOp
class Block
class Clone
class Closure
class Debugger
class DoWhile
class ForIn
class GetClass
class If
class IsInstanceOf
class JSBinaryOp
class JSDelete
class JSImportCall
class JSImportMeta
class JSNew
class JSNewTarget
class JSUnaryOp
class Labeled
trait Literal
class ByteLiteral
class CharLiteral
class ClassOf
class FloatLiteral
class LongLiteral
class IntLiteral
class Null
class ShortLiteral
class Undefined
class LoadJSModule
class LoadModule
class Match
class New
class NewArray
class RecordValue
class Return
class Skip
class StoreModule
class This
class Throw
class Transient
class TryCatch
class TryFinally
class UnaryOp
class VarDef
class While
Show all

Members list

Value members

Abstract methods

def pos: Position

Concrete methods

def show: String