Logo fantomas

Node Type

The core interface implemented by every node in the Oak intermediate representation. Each node carries trivia (comments, blank lines, directives) that were attached to it during the AST → Oak transformation, together with its source range and child nodes. The printer reads ContentBefore / ContentAfter when emitting each node so that all non-code content is reproduced in the output.

Instance members

Instance member Description

this.AddAfter

Full Usage: this.AddAfter

Parameters:
Modifiers: abstract
triviaNode : TriviaNode

this.AddBefore

Full Usage: this.AddBefore

Parameters:
Modifiers: abstract
triviaNode : TriviaNode

this.AddCursor

Full Usage: this.AddCursor

Parameters:
Modifiers: abstract
arg0 : pos

this.Children

Full Usage: this.Children

Returns: Node array
Modifiers: abstract
Returns: Node array

this.ContentAfter

Full Usage: this.ContentAfter

Returns: TriviaNode seq
Modifiers: abstract
Returns: TriviaNode seq

this.ContentBefore

Full Usage: this.ContentBefore

Returns: TriviaNode seq
Modifiers: abstract
Returns: TriviaNode seq

this.HasContentAfter

Full Usage: this.HasContentAfter

Returns: bool
Modifiers: abstract
Returns: bool

this.HasContentBefore

Full Usage: this.HasContentBefore

Returns: bool
Modifiers: abstract
Returns: bool

this.Range

Full Usage: this.Range

Returns: range
Modifiers: abstract
Returns: range

this.TryGetCursor

Full Usage: this.TryGetCursor

Returns: pos option
Modifiers: abstract
Returns: pos option

Type something to start searching.