Header menu logo fantomas

Parser Module

Types

Type Description

nonTerminalId

token

tokenId

Functions and values

Function or value Description

implementationFile arg1 arg2

Full Usage: implementationFile arg1 arg2

Parameters:
Returns: ParsedImplFile
arg0 : LexBuffer<char> -> token
arg1 : LexBuffer<char>
Returns: ParsedImplFile

interaction arg1 arg2

Full Usage: interaction arg1 arg2

Parameters:
Returns: ParsedScriptInteraction
arg0 : LexBuffer<char> -> token
arg1 : LexBuffer<char>
Returns: ParsedScriptInteraction

prodIdxToNonTerminal arg1

Full Usage: prodIdxToNonTerminal arg1

Parameters:
    arg0 : int

Returns: nonTerminalId

This function maps production indexes returned in syntax errors to strings representing the non terminal that would be produced by that production

arg0 : int
Returns: nonTerminalId

signatureFile arg1 arg2

Full Usage: signatureFile arg1 arg2

Parameters:
Returns: ParsedSigFile
arg0 : LexBuffer<char> -> token
arg1 : LexBuffer<char>
Returns: ParsedSigFile

tagOfToken arg1

Full Usage: tagOfToken arg1

Parameters:
Returns: int

This function maps tokens to integer indexes

arg0 : token
Returns: int

tokenTagToTokenId arg1

Full Usage: tokenTagToTokenId arg1

Parameters:
    arg0 : int

Returns: tokenId

This function maps integer indexes to symbolic token ids

arg0 : int
Returns: tokenId

token_to_string arg1

Full Usage: token_to_string arg1

Parameters:
Returns: string

This function gets the name of a token as a string

arg0 : token
Returns: string

typEOF arg1 arg2

Full Usage: typEOF arg1 arg2

Parameters:
Returns: SynType
arg0 : LexBuffer<char> -> token
arg1 : LexBuffer<char>
Returns: SynType

typedSequentialExprEOF arg1 arg2

Full Usage: typedSequentialExprEOF arg1 arg2

Parameters:
Returns: SynExpr
arg0 : LexBuffer<char> -> token
arg1 : LexBuffer<char>
Returns: SynExpr

Type something to start searching.