bbscript/runtime.py
def resolve_statement(self, exp):
		"""Resolves a statement calling nested argument statements if any provided"""
		cmd = exp[0]
		fn = self.ctx.get(cmd, self.ctx.get(CMD_UNSUPPORTED))
		if fn == self.ctx.get(CMD_UNSUPPORTED):
			args = [cmd]
			cmd = CMD_UNSUPPORTED
		else:
			args = [ self.resolve_argument(arg) for arg in exp[1:] ]

		result = fn(self.ctx, *args)
		return result
Resolves a statement calling nested argument statements if any provided
Resolves a statement calling nested argument statements if any provided
Resolves a statement calling nested argument statements if any provided
def resolve_statement(self, exp):
		cmd = exp[0]
		fn = self.ctx.get(cmd, self.ctx.get(CMD_UNSUPPORTED))
		if fn == self.ctx.get(CMD_UNSUPPORTED):
			args = [cmd]
			cmd = CMD_UNSUPPORTED
		else:
			args = [ self.resolve_argument(arg) for arg in exp[1:] ]
		result = fn(self.ctx, *args)
		return result
def resolve_statement ( self , exp ) : cmd = exp [ 0 ] fn = self . ctx . get ( cmd , self . ctx . get ( CMD_UNSUPPORTED ) ) if fn == self . ctx . get ( CMD_UNSUPPORTED ) : args = [ cmd ] cmd = CMD_UNSUPPORTED else : args = [ self . resolve_argument ( arg ) for arg in exp [ 1 : ] ] result = fn ( self . ctx , * args ) return result
Resolves a statement calling nested argument statements if any provided
Resolves a statement calling nested argument statements if any provided
"""Resolves a statement calling nested argument statements if any provided"""
self
exp