Span |
Span.add(SqlAbstractParserImpl parser) |
Adds the position of the last token emitted by a parser to the list,
and returns this Span.
|
Span |
Span.add(SqlParserPos pos) |
Adds a position to the list,
and returns this Span.
|
Span |
Span.add(SqlNode n) |
Adds a node's position to the list,
and returns this Span.
|
Span |
Span.addAll(java.lang.Iterable<? extends SqlNode> nodes) |
Adds the positions of a collection of nodes to the list,
and returns this Span.
|
Span |
Span.addIf(SqlNode n) |
Adds a node's position to the list if the node is not null,
and returns this Span.
|
Span |
Span.clear() |
Clears the contents of this Span, and returns this Span.
|
static Span |
Span.of() |
Creates an empty Span.
|
static Span |
Span.of(java.util.Collection<? extends SqlNode> nodes) |
Creates a Span of a list of nodes.
|
static Span |
Span.of(SqlParserPos p) |
Creates a Span with one position.
|
static Span |
Span.of(SqlNode n) |
Creates a Span of one node.
|
static Span |
Span.of(SqlNode n0,
SqlNode n1) |
Creates a Span between two nodes.
|