Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Pratter.SUPPORT
SourceTypes and utilities on terms that are to be Pratt parsed.
The main type of terms, that contains symbols, applications, binary and unary operators.
The table is used to store available operators.
get_unary tbl t
returns the priority, or binding power of operator identified t
if it is a unary operator, or None
.
get_binary tbl t
returns the priority (or binding power) and associativity of operator t
, or None
if t
isn't a binary operator.