- java.lang.Object
-
- swim.recon.ReconParser<I,V>
-
- Direct Known Subclasses:
ReconStructureParser
public abstract class ReconParser<I,V> extends Object
Factory for constructing Recon parsers and parse trees.
-
-
Constructor Summary
Constructors Constructor Description ReconParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract V
absent()
abstract V
and(V lhs, V rhs)
abstract I
attr(V key)
abstract I
attr(V key, V value)
abstract V
bitwiseAnd(V lhs, V rhs)
abstract V
bitwiseNot(V rhs)
abstract V
bitwiseOr(V lhs, V rhs)
abstract V
bitwiseXor(V lhs, V rhs)
Parser<V>
blockParser()
abstract V
bool(boolean value)
abstract V
children(V selector)
abstract V
conditional(V ifTerm, V thenTerm, V elseTerm)
abstract Output<V>
dataOutput()
abstract V
descendants(V selector)
abstract V
divide(V lhs, V rhs)
abstract V
eq(V lhs, V rhs)
abstract V
extant()
abstract V
filter(V selector, V predicate)
abstract V
ge(V lhs, V rhs)
abstract V
get(V selector, V key)
abstract V
getAttr(V selector, V key)
abstract I
getItem(V selector, V index)
abstract V
gt(V lhs, V rhs)
abstract V
ident(V value)
abstract V
invoke(V func, V args)
abstract boolean
isDistinct(V value)
abstract I
item(V value)
abstract V
keys(V selector)
abstract V
lambda(V bindings, V template)
abstract V
le(V lhs, V rhs)
abstract V
lt(V lhs, V rhs)
abstract V
minus(V lhs, V rhs)
abstract V
modulo(V lhs, V rhs)
abstract V
ne(V lhs, V rhs)
abstract V
negative(V rhs)
abstract V
not(V rhs)
abstract V
num(double value)
abstract V
num(float value)
abstract V
num(int value)
abstract V
num(long value)
abstract V
num(String value)
abstract V
num(BigInteger value)
abstract V
or(V lhs, V rhs)
Parser<V>
parseAdditiveOperator(Input input, Builder<I,V> builder)
Parser<V>
parseAndOperator(Input input, Builder<I,V> builder)
Parser<I>
parseAttr(Input input)
Parser<V>
parseAttrExpression(Input input, Builder<I,V> builder)
Parser<V>
parseBitwiseAndOperator(Input input, Builder<I,V> builder)
Parser<V>
parseBitwiseOrOperator(Input input, Builder<I,V> builder)
Parser<V>
parseBitwiseXorOperator(Input input, Builder<I,V> builder)
Parser<V>
parseBlock(Input input)
Parser<V>
parseBlockExpression(Input input)
Parser<V>
parseBlockExpression(Input input, Builder<I,V> builder)
Parser<V>
parseBlockItem(Input input)
V
parseBlockString(String string)
Parser<V>
parseComparisonOperator(Input input, Builder<I,V> builder)
Parser<V>
parseConditionalOperator(Input input, Builder<I,V> builder)
Parser<V>
parseData(Input input)
Parser<V>
parseIdent(Input input)
Parser<V>
parseInlineItem(Input input)
Parser<V>
parseInteger(Input input)
Parser<V>
parseInvokeOperator(Input input, Builder<I,V> builder)
Parser<V>
parseLambdaFunc(Input input, Builder<I,V> builder)
Parser<V>
parseLiteral(Input input, Builder<I,V> builder)
Parser<V>
parseMarkup(Input input)
Parser<V>
parseMarkup(Input input, Builder<I,V> builder)
Parser<V>
parseMultiplicativeOperator(Input input, Builder<I,V> builder)
Parser<V>
parseNumber(Input input)
V
parseNumberString(String string)
Parser<V>
parseOrOperator(Input input, Builder<I,V> builder)
Parser<V>
parsePrefixOperator(Input input, Builder<I,V> builder)
Parser<V>
parsePrimary(Input input, Builder<I,V> builder)
Parser<V>
parseRawString(Input input)
Parser<V>
parseRecord(Input input)
Parser<V>
parseRecord(Input input, Builder<I,V> builder)
Parser<V>
parseSelector(Input input)
Parser<V>
parseSelector(Input input, Builder<I,V> builder)
Parser<V>
parseString(Input input)
abstract V
plus(V lhs, V rhs)
abstract V
positive(V rhs)
abstract Builder<I,V>
recordBuilder()
abstract V
selector()
abstract I
slot(V key)
abstract I
slot(V key, V value)
abstract Output<V>
textOutput()
abstract V
times(V lhs, V rhs)
abstract V
uint32(int value)
abstract V
uint64(long value)
abstract V
value(I item)
abstract Builder<I,V>
valueBuilder()
abstract V
values(V selector)
-
-
-
Method Detail
-
isDistinct
public abstract boolean isDistinct(V value)
-
num
public abstract V num(int value)
-
num
public abstract V num(long value)
-
num
public abstract V num(float value)
-
num
public abstract V num(double value)
-
num
public abstract V num(BigInteger value)
-
uint32
public abstract V uint32(int value)
-
uint64
public abstract V uint64(long value)
-
bool
public abstract V bool(boolean value)
-
selector
public abstract V selector()
-
extant
public abstract V extant()
-
absent
public abstract V absent()
-
parseConditionalOperator
public Parser<V> parseConditionalOperator(Input input, Builder<I,V> builder)
-
parseBitwiseXorOperator
public Parser<V> parseBitwiseXorOperator(Input input, Builder<I,V> builder)
-
parseBitwiseAndOperator
public Parser<V> parseBitwiseAndOperator(Input input, Builder<I,V> builder)
-
parseComparisonOperator
public Parser<V> parseComparisonOperator(Input input, Builder<I,V> builder)
-
parseMultiplicativeOperator
public Parser<V> parseMultiplicativeOperator(Input input, Builder<I,V> builder)
-
-