public class LiteralExprParser extends Object implements Parser<Node>
Includes these special extensions:
$foo@fc21bf6d8930a215FieldType value in parseable string form
preceded by the FieldType name in curly braces, e.g., {java.util.Date}2015-01-23T07:19:42| Modifier and Type | Field and Description |
|---|---|
static LiteralExprParser |
INSTANCE |
| Constructor and Description |
|---|
LiteralExprParser() |
| Modifier and Type | Method and Description |
|---|---|
Node |
parse(ParseSession session,
ParseContext ctx,
boolean complete)
Parse text from the given parse context.
|
public static final LiteralExprParser INSTANCE
public Node parse(ParseSession session, ParseContext ctx, boolean complete)
ParserGenerally speaking, this method may assume that any whitespace allowed before the item being parsed has already been skipped over (that's a matter for the containing parser).
Copyright © 2017. All rights reserved.