forked from GitHub/gf-core
Generate JavaScript type annotator. Use lindef in JavaScript.
This commit is contained in:
@@ -122,6 +122,7 @@ Expr16 : Ident { EVar $1 }
|
||||
| 'null' { ENull }
|
||||
| 'this' { EThis }
|
||||
| 'function' '(' ListIdent ')' '{' ListStmt '}' { EFun $3 (reverse $6) }
|
||||
| '[' ListExpr ']' { EArray $2 }
|
||||
| '(' Expr ',' ListExpr ')' { eseq1_ $2 $4 }
|
||||
| '(' Expr ')' { $2 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user