Files
control-see/ldtext/Parser.fsi

49 lines
1.3 KiB
FSharp

// Signature file for parser generated by fsyacc
module Parser
type token =
| EOF
| QUESTION_MARK
| SEMICOLON
| COMMA
| RIGHT_BRACKET
| LEFT_BRACKET
| RIGHT_PAREN
| LEFT_PAREN
| IDENTIFIER of (string)
type tokenId =
| TOKEN_EOF
| TOKEN_QUESTION_MARK
| TOKEN_SEMICOLON
| TOKEN_COMMA
| TOKEN_RIGHT_BRACKET
| TOKEN_LEFT_BRACKET
| TOKEN_RIGHT_PAREN
| TOKEN_LEFT_PAREN
| TOKEN_IDENTIFIER
| TOKEN_end_of_input
| TOKEN_error
type nonTerminalId =
| NONTERM__startrung
| NONTERM_rung
| NONTERM_steps
| NONTERM_steps_reversed
| NONTERM_branch
| NONTERM_branch_arms
| NONTERM_branch_arms_reversed
| NONTERM_instr
| NONTERM_operands
| NONTERM_operands_reversed
| NONTERM_operand
/// This function maps tokens to integer indexes
val tagOfToken: token -> int
/// This function maps integer indexes to symbolic token ids
val tokenTagToTokenId: int -> tokenId
/// This function maps production indexes returned in syntax errors to strings representing the non terminal that would be produced by that production
val prodIdxToNonTerminal: int -> nonTerminalId
/// This function gets the name of a token as a string
val token_to_string: token -> string
val rung : (FSharp.Text.Lexing.LexBuffer<'cty> -> token) -> FSharp.Text.Lexing.LexBuffer<'cty> -> (Rung)