Header menu logo fantomas

TriviaNode Type

A node carrying trivia content (comment, blank line, directive, or cursor) and its source range. Trivia nodes are attached to instances as ContentBefore or ContentAfter and are emitted by the code printer around the owning node's output.

Constructors

Constructor Description

TriviaNode(content, range)

Full Usage: TriviaNode(content, range)

Parameters:
Returns: TriviaNode
content : TriviaContent
range : range
Returns: TriviaNode

Instance members

Instance member Description

this.Content

Full Usage: this.Content

Returns: TriviaContent
Returns: TriviaContent

this.Range

Full Usage: this.Range

Returns: range
Returns: range

Type something to start searching.