PN_AST 39 core/ast.c t->part = (enum PN_AST)p; PN_AST 639 core/compile.c blk->a[0] = PN_SRC(PN_AST(CODE, PN_NIL, blk->loc.lineno, blk->line)); PN_AST 641 core/compile.c PN_PUSH(ctor, PN_AST(EXPR, PN_TUP(PN_AST(MSG, PN_AST 426 core/potion.h enum PN_AST part; ///< AST type, avoid -Wswitch (aligned access: 4+4+8+4+24) PN_AST 61 core/syntax.y potion = -- s:statements end-of-file { $$ = P->source = PN_AST(CODE, s) } PN_AST 133 core/syntax.y expr = ( not a:expr { a = PN_AST(NOT, a) } PN_AST 134 core/syntax.y | wavy a:expr { a = PN_AST(WAVY, a) } PN_AST 135 core/syntax.y | minus !minus a:atom { a = PN_OP(AST_MINUS, PN_AST(VALUE, PN_ZERO), a) } PN_AST 136 core/syntax.y | plus !plus a:atom { a = PN_OP(AST_PLUS, PN_AST(VALUE, PN_ZERO), a) } PN_AST 142 core/syntax.y { $$ = PN_AST(EXPR, a) } PN_AST 147 core/syntax.y (v:value | v:list) { n = PN_AST(MSG, PN_NIL); b = PN_NIL; } b:block?) PN_AST 155 core/syntax.y name = p:path { $$ = PN_AST(PATH, p) } PN_AST 156 core/syntax.y | quiz ( m:msg - { $$ = PN_AST(QUERY, m) } PN_AST 157 core/syntax.y | p:path { $$ = PN_AST(PATHQ, p) }) PN_AST 158 core/syntax.y | t:tuple - { $$ = PN_AST(VALUE, t) } # like a lick, but only a arrayref PN_AST 160 core/syntax.y m:msg - { $$ = PN_AST(MSG, m) } PN_AST 171 core/syntax.y | m:msg - { $$ = PN_AST(LICK, m) } PN_AST 172 core/syntax.y | v:loose - { $$ = PN_AST(LICK, v) } PN_AST 175 core/syntax.y | v:unquoted { $$ = PN_AST(VALUE, v) } PN_AST 178 core/syntax.y list = list-start s:statements list-end { $$ = PN_AST(LIST, s) } PN_AST 179 core/syntax.y block = block-start s:statements block-end { $$ = PN_AST(BLOCK, s) } PN_AST 180 core/syntax.y lick = lick-start i:lick-items lick-end { $$ = PN_AST(LIST, i) } PN_AST 181 core/syntax.y group = group-start s:statements group-end { $$ = PN_AST(EXPR, s) } PN_AST 182 core/syntax.y tuple = m:msg l:lick { $$ = PN_AST2(LICK, PN_AST(MSG, m), l) } PN_AST 189 core/syntax.y value = i:immed - { $$ = PN_AST(VALUE, i) } PN_AST 190 core/syntax.y | t:tuple - { $$ = PN_AST(VALUE, t) } # arrayref