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

A path expression - an ordered sequence of segments. More...

#include <ast.h>

Public Attributes

std::vector< PathSegment > segments
 Ordered path components.
 
int line
 Line of the first segment.
 
int column
 Column of the first segment.
 

Detailed Description

A path expression - an ordered sequence of segments.

Used by mkdir, file, and file ... from for destination and source paths. Segments are concatenated at runtime, with literals inserted verbatim and interpolations/aliases resolved from the current scope.