public class BaseExprParser extends Object implements Parser<Node>
Includes these extensions:
foo.name = "fred"
means foo.setName("fred")
@fc21bf6d8930a215.name
Map
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyIdentifierScope
public static final BaseExprParser INSTANCE
public Node parse(ParseSession session, ParseContext ctx, boolean complete)
Parser
Generally 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 © 2022. All rights reserved.