Skip to content

v.comptime #

fn new_comptime #

fn new_comptime(pref_ &pref.Preferences) &Comptime

fn new_comptime_with_table #

fn new_comptime_with_table(table &ast.Table, pref_ &pref.Preferences) &Comptime

struct Comptime #

struct Comptime {
	pref &pref.Preferences
pub mut:
	table &ast.Table = unsafe { nil }
	file  &ast.File  = unsafe { nil }
}

fn (Comptime) solve_files #

fn (mut c Comptime) solve_files(ast_files []&ast.File)

fn (Comptime) solve #

fn (mut c Comptime) solve(mut ast_file ast.File)

fn (Comptime) stmts #

fn (mut c Comptime) stmts(mut nodes []ast.Stmt) []ast.Stmt

fn (Comptime) stmt #

fn (mut c Comptime) stmt(mut node ast.Stmt) ast.Stmt

fn (Comptime) expr_stmt #

fn (mut c Comptime) expr_stmt(mut node ast.Expr) StmtOrExpr

fn (Comptime) exprs #

fn (mut c Comptime) exprs(mut nodes []ast.Expr) []ast.Expr

fn (Comptime) expr #

fn (mut c Comptime) expr(mut node ast.Expr) ast.Expr