public class BaseExprParser extends Object implements Parser<Node>
Includes these extensions:
foo.name = "fred" means foo.setName("fred")@fc21bf6d8930a215.nameMap and List value access, e.g., mymap[key] = value means
mymap.put(key, value), and mylist[12] = "abc" means mylist.set(12, "abc")| Modifier and Type | Field and Description |
|---|---|
static BaseExprParser |
INSTANCE |
| Constructor and Description |
|---|
BaseExprParser() |
| Modifier and Type | Method and Description |
|---|---|
Node |
parse(ParseSession session,
ParseContext ctx,
boolean complete)
Parse text from the given parse context.
|
public static final BaseExprParser 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.