spudplate
Template scaffolding compiler for spudlang .spud files
Loading...
Searching...
No Matches
spudplate::FunctionCallExpr Struct Reference

A built-in function call expression, e.g. More...

#include <ast.h>

Public Attributes

std::string name
 Function name.
 
std::vector< ExprPtr > arguments
 Argument expressions.
 
int line
 1-based source line where this node begins.
 
int column
 1-based source column where this node begins.
 

Detailed Description

A built-in function call expression, e.g.

lower(name) or replace(s, " ", "-").

Arity is checked at evaluation time per-function. Supported functions: lower, upper, trim (1 arg), replace (3 args).