def __init__(self, gml_codec, tokenizer):
		self.codec = gml_codec

		# ensure that the tokenizer defines the token-types that the 
		# GMLInterpreter expects:
		try:
			self.VAL_TOK = tokenizer.VAL_TOK
			self.KEY_TOK = tokenizer.KEY_TOK
			self.SLIST_TOK = tokenizer.SLIST_TOK
			self.ELIST_TOK = tokenizer.ELIST_TOK

		except __HOLE__ as e:
			raise ZenException('Could not build GMLInterpreter: the '\
				'tokenizer received does not define the expected toke types')
dataset/ETHPy150Open networkdynamics/zenlib/src/zen/io/gml_interpreter.py/GMLInterpreter.__init__