ParseRule Struct Reference

Parse rule table entry. More...

Data Fields

ParseFn prefix
 Parse function to call when this token appears at the start of an expression.
 
ParseFn infix
 Parse function to call when this token appears after an expression.
 
Precedence precedence
 Precedence ordering for Pratt parsing, Precedence.
 

Detailed Description

Parse rule table entry.

Maps tokens to prefix and infix rules. Precedence values here are for the infix parsing.

Definition at line 124 of file compiler.c.


The documentation for this struct was generated from the following file: