public class ASTBuilderFactory extends Object
Constructor and Description |
---|
ASTBuilderFactory() |
Modifier and Type | Method and Description |
---|---|
static BetweenNode |
newBetweenNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode value,
BaseNode start,
BaseNode end) |
static BooleanNode |
newBooleanNode(org.antlr.v4.runtime.ParserRuleContext ctx) |
static ContextEntryNode |
newContextEntry(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode name,
BaseNode value) |
static ContextNode |
newContextNode(org.antlr.v4.runtime.ParserRuleContext ctx,
ListNode list) |
static DashNode |
newDashNode(org.antlr.v4.runtime.ParserRuleContext ctx) |
static FilterExpressionNode |
newFilterExpressionNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode expr,
BaseNode filter) |
static ForExpressionNode |
newForExpression(org.antlr.v4.runtime.ParserRuleContext ctx,
ListNode list,
BaseNode expr) |
static FunctionDefNode |
newFunctionDefinition(org.antlr.v4.runtime.ParserRuleContext ctx,
ListNode parameters,
boolean external,
BaseNode body) |
static FunctionInvocationNode |
newFunctionInvocationNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode name,
ListNode params) |
static IfExpressionNode |
newIfExpression(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode c,
BaseNode t,
BaseNode e) |
static InfixOpNode |
newInfixOpNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode left,
String op,
BaseNode right) |
static InNode |
newInNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode value,
BaseNode list) |
static InstanceOfNode |
newInstanceOfNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode expr,
TypeNode type) |
static RangeNode |
newIntervalNode(org.antlr.v4.runtime.ParserRuleContext ctx,
RangeNode.IntervalBoundary low,
BaseNode start,
BaseNode end,
RangeNode.IntervalBoundary up) |
static IterationContextNode |
newIterationContextNode(org.antlr.v4.runtime.ParserRuleContext ctx,
NameDefNode name,
BaseNode expr) |
static ListNode |
newListNode(org.antlr.v4.runtime.ParserRuleContext ctx,
List<BaseNode> exprs) |
static NameDefNode |
newNameDefNode(org.antlr.v4.runtime.ParserRuleContext ctx,
List<String> tokens) |
static NameDefNode |
newNameDefNode(org.antlr.v4.runtime.ParserRuleContext ctx,
String name) |
static NamedParameterNode |
newNamedParameterNode(org.antlr.v4.runtime.ParserRuleContext ctx,
NameDefNode name,
BaseNode value) |
static NameRefNode |
newNameRefNode(org.antlr.v4.runtime.ParserRuleContext ctx,
Type type) |
static NullNode |
newNullNode(org.antlr.v4.runtime.ParserRuleContext ctx) |
static NumberNode |
newNumberNode(org.antlr.v4.runtime.ParserRuleContext ctx) |
static PathExpressionNode |
newPathExpressionNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode expr,
BaseNode name) |
static QualifiedNameNode |
newQualifiedNameNode(org.antlr.v4.runtime.ParserRuleContext ctx,
ArrayList<NameRefNode> parts,
Type type) |
static QuantifiedExpressionNode |
newQuantifiedExpression(org.antlr.v4.runtime.ParserRuleContext ctx,
QuantifiedExpressionNode.Quantifier quant,
ListNode list,
BaseNode expr) |
static SignedUnaryNode |
newSignedUnaryNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode expr) |
static StringNode |
newStringNode(org.antlr.v4.runtime.ParserRuleContext ctx) |
static TypeNode |
newTypeNode(org.antlr.v4.runtime.ParserRuleContext ctx) |
static UnaryTestNode |
newUnaryTestNode(org.antlr.v4.runtime.ParserRuleContext ctx,
String op,
BaseNode value) |
public static NumberNode newNumberNode(org.antlr.v4.runtime.ParserRuleContext ctx)
public static BooleanNode newBooleanNode(org.antlr.v4.runtime.ParserRuleContext ctx)
public static SignedUnaryNode newSignedUnaryNode(org.antlr.v4.runtime.ParserRuleContext ctx, BaseNode expr)
public static NullNode newNullNode(org.antlr.v4.runtime.ParserRuleContext ctx)
public static StringNode newStringNode(org.antlr.v4.runtime.ParserRuleContext ctx)
public static InfixOpNode newInfixOpNode(org.antlr.v4.runtime.ParserRuleContext ctx, BaseNode left, String op, BaseNode right)
public static BetweenNode newBetweenNode(org.antlr.v4.runtime.ParserRuleContext ctx, BaseNode value, BaseNode start, BaseNode end)
public static ListNode newListNode(org.antlr.v4.runtime.ParserRuleContext ctx, List<BaseNode> exprs)
public static InNode newInNode(org.antlr.v4.runtime.ParserRuleContext ctx, BaseNode value, BaseNode list)
public static RangeNode newIntervalNode(org.antlr.v4.runtime.ParserRuleContext ctx, RangeNode.IntervalBoundary low, BaseNode start, BaseNode end, RangeNode.IntervalBoundary up)
public static UnaryTestNode newUnaryTestNode(org.antlr.v4.runtime.ParserRuleContext ctx, String op, BaseNode value)
public static NameDefNode newNameDefNode(org.antlr.v4.runtime.ParserRuleContext ctx, List<String> tokens)
public static NameDefNode newNameDefNode(org.antlr.v4.runtime.ParserRuleContext ctx, String name)
public static ContextEntryNode newContextEntry(org.antlr.v4.runtime.ParserRuleContext ctx, BaseNode name, BaseNode value)
public static ContextNode newContextNode(org.antlr.v4.runtime.ParserRuleContext ctx, ListNode list)
public static FunctionDefNode newFunctionDefinition(org.antlr.v4.runtime.ParserRuleContext ctx, ListNode parameters, boolean external, BaseNode body)
public static IterationContextNode newIterationContextNode(org.antlr.v4.runtime.ParserRuleContext ctx, NameDefNode name, BaseNode expr)
public static ForExpressionNode newForExpression(org.antlr.v4.runtime.ParserRuleContext ctx, ListNode list, BaseNode expr)
public static NameRefNode newNameRefNode(org.antlr.v4.runtime.ParserRuleContext ctx, Type type)
public static QualifiedNameNode newQualifiedNameNode(org.antlr.v4.runtime.ParserRuleContext ctx, ArrayList<NameRefNode> parts, Type type)
public static IfExpressionNode newIfExpression(org.antlr.v4.runtime.ParserRuleContext ctx, BaseNode c, BaseNode t, BaseNode e)
public static QuantifiedExpressionNode newQuantifiedExpression(org.antlr.v4.runtime.ParserRuleContext ctx, QuantifiedExpressionNode.Quantifier quant, ListNode list, BaseNode expr)
public static InstanceOfNode newInstanceOfNode(org.antlr.v4.runtime.ParserRuleContext ctx, BaseNode expr, TypeNode type)
public static PathExpressionNode newPathExpressionNode(org.antlr.v4.runtime.ParserRuleContext ctx, BaseNode expr, BaseNode name)
public static FilterExpressionNode newFilterExpressionNode(org.antlr.v4.runtime.ParserRuleContext ctx, BaseNode expr, BaseNode filter)
public static NamedParameterNode newNamedParameterNode(org.antlr.v4.runtime.ParserRuleContext ctx, NameDefNode name, BaseNode value)
public static FunctionInvocationNode newFunctionInvocationNode(org.antlr.v4.runtime.ParserRuleContext ctx, BaseNode name, ListNode params)
public static DashNode newDashNode(org.antlr.v4.runtime.ParserRuleContext ctx)
public static TypeNode newTypeNode(org.antlr.v4.runtime.ParserRuleContext ctx)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.