CAP/MiniC/MiniCParser.pyi
2024-09-29 09:58:25 +02:00

23 lines
437 B
Python

from antlr4.error.ErrorListener import ErrorListener
from antlr4.Parser import Parser
from typing import Callable, Any, List
class MiniCParser(Parser):
_listeners: List[ErrorListener]
prog: Callable[[], Any]
EQ: int
LT: int
LTEQ: int
GT: int
GTEQ: int
PLUS: int
MINUS: int
MULT: int
DIV: int
MOD: int
NEQ: int
INTTYPE: int
FLOATTYPE: int
BOOLTYPE: int
STRINGTYPE: int