public class AtomExprParser extends Object implements Parser<Node>
new expressions,
session function calls, identifiers (e.g., lambda method parameter names), and literals.
Includes these extensions:
foo.name = "fred" means foo.setName("fred")@fc21bf6d8930a215.name| Modifier and Type | Field and Description |
|---|---|
static AtomExprParser |
INSTANCE |
| Constructor and Description |
|---|
AtomExprParser() |
| Modifier and Type | Method and Description |
|---|---|
Node |
parse(ParseSession session,
ParseContext ctx,
boolean complete)
Parse text from the given parse context.
|
public static final AtomExprParser 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.