ParseTreeOrigin

class ParseTreeOrigin(val parseTree: ParseTree, var source: Source? = null) : Origin

An Origin corresponding to a ParseTreeNode. This is used to indicate that an AST Node has been obtained by mapping an original ParseTreeNode.

Note that this is NOT serializable as ParseTree elements are not Serializable.

Constructors

Link copied to clipboard
constructor(parseTree: ParseTree, source: Source? = null)

Properties

Link copied to clipboard
val parseTree: ParseTree
Link copied to clipboard
open override val range: Range?
Link copied to clipboard
open override var source: Source?
Link copied to clipboard
open override val sourceText: String?