Commit a7a6cd52 by Haichen Shen

checkin basic var

parent 76a7ef33
from __future__ import absolute_import as _abs
from .expr import Expr
class Var(Expr):
"""Variables"""
def __init__(self, name, expr=None):
self.name = name
self.expr = expr
def children(self):
if self.expr is None:
return ()
return self.expr.children()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment