snoeathurc.h
This commit is contained in:
@ -1,6 +1,16 @@
|
||||
// Signature file for parser generated by fsyacc
|
||||
module Parser
|
||||
type token =
|
||||
| FILTER of (Position)
|
||||
| SCAN of (Position)
|
||||
| REPLICATE of (Position)
|
||||
| BOOLVAL of (bool * Position)
|
||||
| NOT of (Position)
|
||||
| AND of (Position)
|
||||
| OR of (Position)
|
||||
| TIMES of (Position)
|
||||
| DIVIDE of (Position)
|
||||
| NUMNEG of (Position)
|
||||
| LPAR of (Position)
|
||||
| RPAR of (Position)
|
||||
| LBRACKET of (Position)
|
||||
@ -38,6 +48,16 @@ type token =
|
||||
| CHARLIT of (char * Position)
|
||||
| NUM of (int * Position)
|
||||
type tokenId =
|
||||
| TOKEN_FILTER
|
||||
| TOKEN_SCAN
|
||||
| TOKEN_REPLICATE
|
||||
| TOKEN_BOOLVAL
|
||||
| TOKEN_NOT
|
||||
| TOKEN_AND
|
||||
| TOKEN_OR
|
||||
| TOKEN_TIMES
|
||||
| TOKEN_DIVIDE
|
||||
| TOKEN_NUMNEG
|
||||
| TOKEN_LPAR
|
||||
| TOKEN_RPAR
|
||||
| TOKEN_LBRACKET
|
||||
@ -85,6 +105,7 @@ type nonTerminalId =
|
||||
| NONTERM_Params
|
||||
| NONTERM_BinOp
|
||||
| NONTERM_Exp
|
||||
| NONTERM_MultiLet
|
||||
| NONTERM_Exps
|
||||
| NONTERM_FunArg
|
||||
/// This function maps tokens to integer indexes
|
||||
|
Reference in New Issue
Block a user