Home | History | Annotate | Download | only in ast-output

Lines Matching refs:EXPR

1026   example "arbitrary expr type" do
1136 tokens {EXPR;}
1137 decl : type ID '=' INT ';' -> ^(EXPR type ID INT) ;
1145 result.should == '(EXPR int x 1)'
1153 tokens {EXPR;}
1154 decl : type ID '=' INT ';' -> ^(EXPR type ID INT) ;
1162 result.should == '(EXPR int <missing ID> 1)'
1170 tokens {EXPR;}
1171 decl : type ID '=' INT ';' -> ^(EXPR type ID INT) ;
1179 result.should == '(EXPR <error: x> x 1)'