Modifier and Type | Method and Description |
---|---|
List<UnaryTest> |
FEEL.evaluateUnaryTests(String expression,
Map<String,Type> variableTypes)
Evaluates the given expression as a list of of unary tests.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CompositeType
A composite type interface, i.e., a type that contains fields
|
interface |
SimpleType
A simple type definition interface, i.e., a type that does not contain fields
|
Modifier and Type | Method and Description |
---|---|
Type |
Symbol.getType() |
Type |
Scope.getType()
maybe null.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Type> |
CompositeType.getFields() |
Map<String,Type> |
CompilerContext.getInputVariableTypes() |
Modifier and Type | Method and Description |
---|---|
CompilerContext |
CompilerContext.addInputVariableType(String name,
Type type) |
Modifier and Type | Method and Description |
---|---|
Type |
TypeNode.evaluate(EvaluationContext ctx) |
Type |
SignedUnaryNode.getResultType() |
Type |
InfixOpNode.getResultType() |
Type |
FunctionDefNode.getResultType() |
Type |
ASTNode.getResultType() |
Type |
IfExpressionNode.getResultType() |
Type |
StringNode.getResultType() |
Type |
PathExpressionNode.getResultType() |
Type |
DashNode.getResultType() |
Type |
QualifiedNameNode.getResultType() |
Type |
BooleanNode.getResultType() |
Type |
NumberNode.getResultType() |
Type |
QuantifiedExpressionNode.getResultType() |
Type |
ContextEntryNode.getResultType() |
Type |
BetweenNode.getResultType() |
Type |
InstanceOfNode.getResultType() |
Type |
RangeNode.getResultType() |
Type |
FunctionInvocationNode.getResultType() |
Type |
BaseNode.getResultType() |
Type |
InNode.getResultType() |
Type |
ContextNode.getResultType() |
Type |
ListNode.getResultType() |
Type |
NameRefNode.getResultType() |
Type |
ForExpressionNode.getResultType() |
Modifier and Type | Method and Description |
---|---|
static NameRefNode |
ASTBuilderFactory.newNameRefNode(org.antlr.v4.runtime.ParserRuleContext ctx,
Type type) |
static QualifiedNameNode |
ASTBuilderFactory.newQualifiedNameNode(org.antlr.v4.runtime.ParserRuleContext ctx,
ArrayList<NameRefNode> parts,
Type type) |
Constructor and Description |
---|
NameRefNode(org.antlr.v4.runtime.ParserRuleContext ctx,
Type type) |
QualifiedNameNode(org.antlr.v4.runtime.ParserRuleContext ctx,
List<NameRefNode> parts,
Type type) |
Modifier and Type | Class and Description |
---|---|
class |
JavaBackedType |
class |
MapBackedType
A map-based type descriptor
|
Modifier and Type | Method and Description |
---|---|
static Type |
JavaBackedType.of(Class<?> clazz)
If clazz can be represented as a JavaBackedType, returns a JavaBackedType for representing clazz.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Type> |
MapBackedType.getFields() |
Map<String,Type> |
JavaBackedType.getFields() |
Map<String,Type> |
CompilerContextImpl.getInputVariableTypes() |
Modifier and Type | Method and Description |
---|---|
MapBackedType |
MapBackedType.addField(String name,
Type type) |
CompilerContext |
CompilerContextImpl.addInputVariableType(String name,
Type type) |
Modifier and Type | Method and Description |
---|---|
List<UnaryTest> |
FEELImpl.evaluateUnaryTests(String expression,
Map<String,Type> variableTypes) |
Constructor and Description |
---|
MapBackedType(String typeName,
Map<String,Type> fields) |
Modifier and Type | Class and Description |
---|---|
class |
BuiltInType |
class |
BuiltInTypeSymbol |
Modifier and Type | Method and Description |
---|---|
static Type |
BuiltInType.determineTypeFromInstance(Object o) |
static Type |
BuiltInType.determineTypeFromName(String name) |
Type |
ScopeImpl.getType() |
Type |
BaseSymbol.getType() |
Modifier and Type | Method and Description |
---|---|
static boolean |
BuiltInType.isInstanceOf(Object o,
Type t) |
void |
BaseSymbol.setType(Type type) |
Constructor and Description |
---|
BaseSymbol(String id,
Type type) |
BaseSymbol(String id,
Type type,
Scope scope) |
BuiltInTypeSymbol(String id,
Type type) |
BuiltInTypeSymbol(String id,
Type type,
Scope scope) |
FunctionSymbol(String id,
Type type,
FEELFunction evaluator) |
FunctionSymbol(String id,
Type type,
Scope scope,
FEELFunction evaluator) |
ScopeImpl(String name,
Scope parentScope,
Type type) |
VariableSymbol(String id,
Type type) |
VariableSymbol(String id,
Type type,
Scope scope) |
Modifier and Type | Method and Description |
---|---|
Object |
FEELStringMarshaller.unmarshall(Type feelType,
String value)
Unmarshalls the given string into a FEEL value.
|
Object |
FEELCodeMarshaller.unmarshall(Type feelType,
String value)
Unmarshalls the string into a FEEL value by executing it.
|
Object |
FEELMarshaller.unmarshall(Type feelType,
T value)
Unmarshals the marshalled T value into a FEEL object
|
Modifier and Type | Method and Description |
---|---|
static Type |
ParserHelper.determineTypeFromClass(Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
void |
ParserHelper.defineVariable(String variable,
Type type) |
void |
ParserHelper.pushScope(Type type) |
Modifier and Type | Method and Description |
---|---|
static FEEL_1_1Parser |
FEELParser.parse(FEELEventListenersManager eventsManager,
String source,
Map<String,Type> inputVariableTypes,
Map<String,Object> inputVariables,
Collection<FEELFunction> additionalFunctions) |
Constructor and Description |
---|
ASTBuilderVisitor(Map<String,Type> inputTypes) |
Modifier and Type | Method and Description |
---|---|
Type |
DTOutputClause.getType() |
Constructor and Description |
---|
DTOutputClause(String name,
String id,
List<UnaryTest> outputValues,
String defaultValue,
Type feelType) |
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.