public class ParserHelper extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
ParserHelper() |
ParserHelper(FEELEventListenersManager eventsManager) |
Modifier and Type | Method and Description |
---|---|
void |
defineVariable(org.antlr.v4.runtime.ParserRuleContext ctx) |
void |
defineVariable(String variable) |
void |
defineVariable(String variable,
Type type) |
static Type |
determineTypeFromClass(Class<?> clazz) |
void |
disableDynamicResolution() |
void |
dismissScope() |
void |
enableDynamicResolution() |
boolean |
followUp(org.antlr.v4.runtime.Token t,
boolean isPredict) |
static List<org.antlr.v4.runtime.Token> |
getAllTokens(org.antlr.v4.runtime.tree.ParseTree ctx,
List<org.antlr.v4.runtime.Token> tokens) |
static String |
getOriginalText(org.antlr.v4.runtime.ParserRuleContext ctx) |
SymbolTable |
getSymbolTable() |
boolean |
isDynamicResolution() |
void |
popName() |
void |
popScope() |
void |
pushName(org.antlr.v4.runtime.ParserRuleContext ctx) |
void |
pushName(String name) |
void |
pushScope() |
void |
pushScope(Type type) |
void |
recoverScope() |
void |
recoverScope(String name) |
void |
startVariable(org.antlr.v4.runtime.Token t) |
void |
validateVariable(org.antlr.v4.runtime.ParserRuleContext ctx,
List<String> qn,
String name) |
public ParserHelper()
public ParserHelper(FEELEventListenersManager eventsManager)
public SymbolTable getSymbolTable()
public void pushScope()
public void pushScope(Type type)
public void popScope()
public void pushName(String name)
public void pushName(org.antlr.v4.runtime.ParserRuleContext ctx)
public void popName()
public void recoverScope()
public void recoverScope(String name)
public void dismissScope()
public void validateVariable(org.antlr.v4.runtime.ParserRuleContext ctx, List<String> qn, String name)
public boolean isDynamicResolution()
public void disableDynamicResolution()
public void enableDynamicResolution()
public void defineVariable(org.antlr.v4.runtime.ParserRuleContext ctx)
public void defineVariable(String variable)
public void startVariable(org.antlr.v4.runtime.Token t)
public boolean followUp(org.antlr.v4.runtime.Token t, boolean isPredict)
public static String getOriginalText(org.antlr.v4.runtime.ParserRuleContext ctx)
public static List<org.antlr.v4.runtime.Token> getAllTokens(org.antlr.v4.runtime.tree.ParseTree ctx, List<org.antlr.v4.runtime.Token> tokens)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.