src/parser.py
def insert_term(self, term):
        ''' Create new ast with term as root '''
        if term not in self.seen:
            self.seen += term
        # create a tree with the term as a root
        tree = ast.AST(term)
        self.tree_stack.append(tree)
 Create new ast with term as root 
Create new ast with term as root
Create new ast with term as root
def insert_term(self, term):
        if term not in self.seen:
            self.seen += term
        tree = ast.AST(term)
        self.tree_stack.append(tree)
def insert_term ( self , term ) : if term not in self . seen : self . seen += term tree = ast . AST ( term ) self . tree_stack . append ( tree )
Create new ast with term as root
Create new ast with term as root
''' Create new ast with term as root ''' # create a tree with the term as a root
self
term