public final class Selection extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_LIMIT |
| Modifier and Type | Method and Description |
|---|---|
static Trampoline<Optional<ParseItem>> |
findItemAtOffset(ImmutableList<ParseItem> items,
BigInteger offset,
Source source) |
static ImmutableList<ParseItem> |
getAllRoots(ParseGraph graph,
Token definition) |
static ImmutableList<ParseValue> |
getAllValues(ParseGraph graph,
Predicate<ParseValue> predicate) |
static ImmutableList<ParseValue> |
getAllValues(ParseGraph graph,
Predicate<ParseValue> predicate,
int limit) |
static boolean |
hasRootAtOffset(ParseGraph graph,
Token definition,
BigInteger offset,
Source source) |
static <T> ImmutableList<T> |
reverse(ImmutableList<T> list) |
public static final int NO_LIMIT
public static boolean hasRootAtOffset(ParseGraph graph, Token definition, BigInteger offset, Source source)
public static Trampoline<Optional<ParseItem>> findItemAtOffset(ImmutableList<ParseItem> items, BigInteger offset, Source source)
public static ImmutableList<ParseValue> getAllValues(ParseGraph graph, Predicate<ParseValue> predicate, int limit)
public static ImmutableList<ParseValue> getAllValues(ParseGraph graph, Predicate<ParseValue> predicate)
public static <T> ImmutableList<T> reverse(ImmutableList<T> list)
public static ImmutableList<ParseItem> getAllRoots(ParseGraph graph, Token definition)
Copyright © 2017. All rights reserved.