this_append_before for Expression

This commit is contained in:
Benjamin Bertrand 2016-03-02 17:00:55 +03:00
parent 619e809c6b
commit ee03acf9fb

View File

@ -263,7 +263,7 @@ class Expression(Explicable):
if self.child.postfix_tokens == ini_step.postfix_tokens: if self.child.postfix_tokens == ini_step.postfix_tokens:
self.child.steps = steps self.child.steps = steps
else: else:
self.child.steps = [ini_step] + steps self.child.this_append_before([ini_step] + steps)
def develop_steps(self, tokenList): def develop_steps(self, tokenList):
""" From a list of tokens, it develops steps of each tokens """ """ From a list of tokens, it develops steps of each tokens """