コード例 #1
0
ファイル: IfNode.py プロジェクト: dalapat/assignments
 def __init__(self, _next, condition, instructions_true, instructions_false):
     InstructionNode.__init__(self, _next)
     self.condition = condition
     self.instructions_true = instructions_true
     self.instructions_false = instructions_false
コード例 #2
0
ファイル: AssignNode.py プロジェクト: dalapat/assignments
 def __init__(self, _next, location, expression):
     InstructionNode.__init__(self, _next)
     self.location = location
     self.expression = expression
コード例 #3
0
ファイル: ReadNode.py プロジェクト: dalapat/assignments
 def __init__(self, _next, location):
     InstructionNode.__init__(self, _next)
     self.location = location
コード例 #4
0
ファイル: RepeatNode.py プロジェクト: dalapat/assignments
 def __init__(self, _next, condition, instructions):
     InstructionNode.__init__(self, _next)
     self.condition = condition
     self.instructions = instructions
コード例 #5
0
ファイル: ProcedureNode.py プロジェクト: dalapat/assignments
 def __init__(self, _next, proc_obj):
     InstructionNode.__init__(self, _next)
     self.proc_obj = proc_obj
コード例 #6
0
ファイル: WriteNode.py プロジェクト: dalapat/assignments
 def __init__(self, _next, expression):
     InstructionNode.__init__(self, _next)
     self.expression = expression