Init
This commit is contained in:
parent
24388aecb3
commit
c8b06176bf
9 changed files with 305 additions and 0 deletions
13
python_symb/expr.py
Normal file
13
python_symb/expr.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
from __future__ import annotations
|
||||
from typing import Union, List, Tuple, Optional, Dict, Callable
|
||||
from tree import Tree
|
||||
from operator import Add, Mul, Neg, Parenthesis
|
||||
|
||||
|
||||
class Expr(Tree):
|
||||
|
||||
def __init__(self, value, children=None):
|
||||
super().__init__(value, children)
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue