public class LambdaExprParser extends Object implements Parser<LambdaNode>
Modifier and Type | Field and Description |
---|---|
static LambdaExprParser |
INSTANCE |
Constructor and Description |
---|
LambdaExprParser() |
Modifier and Type | Method and Description |
---|---|
LambdaNode |
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 LambdaExprParser INSTANCE
public LambdaNode 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).
parse
in interface Parser<LambdaNode>
session
- parse sessionctx
- input to parsecomplete
- false if parse is "for real", true if only for tab completion calculationCopyright © 2022. All rights reserved.