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

A let statement - declares a derived variable. More...

#include <ast.h>

Public Attributes

std::string name
 Variable name to bind.
 
ExprPtr value
 Expression whose value is assigned.
 
int line
 1-based source line where this node begins.
 
int column
 1-based source column where this node begins.
 

Detailed Description

A let statement - declares a derived variable.

Example: let slug = lower(trim(name))