Package icyllis.arc3d.compiler.tree
Class FunctionCall
java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.Expression
icyllis.arc3d.compiler.tree.FunctionCall
A function invocation: function_name( args, ... ).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class icyllis.arc3d.compiler.tree.Node
Node.ElementKind, Node.ExpressionKind, Node.StatementKind, Node.SymbolKind -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(TreeVisitor visitor) Visit this AST with a given visitor.clone(int position) static Expressionconvert(Context context, int pos, Expression identifier, List<Expression> arguments) static Expressionconvert(Context context, int pos, FunctionDecl function, List<Expression> arguments) @Unmodifiable Expression[]getKind()static Expressionmake(int pos, Type returnType, FunctionDecl function, List<Expression> arguments) toString(int parentPrecedence) Methods inherited from class icyllis.arc3d.compiler.tree.Expression
clone, getCoercionCost, getConstantValue, getType, isBooleanLiteral, isConstructorCall, isFloatLiteral, isIncomplete, isIntLiteral, isLiteral, toStringMethods inherited from class icyllis.arc3d.compiler.tree.Node
getEndOffset, getStartOffset
-
Method Details
-
convert
@Nullable public static Expression convert(@Nonnull Context context, int pos, @Nonnull Expression identifier, @Nonnull List<Expression> arguments) -
convert
@Nullable public static Expression convert(@Nonnull Context context, int pos, @Nonnull FunctionDecl function, @Nonnull List<Expression> arguments) -
make
public static Expression make(int pos, Type returnType, FunctionDecl function, List<Expression> arguments) -
getKind
- Specified by:
getKindin classExpression- See Also:
-
accept
Description copied from class:NodeVisit this AST with a given visitor. -
getFunction
-
getArguments
-
clone
- Specified by:
clonein classExpression
-
toString
- Specified by:
toStringin classExpression
-