Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/m/y/mython-HEAD/basil/parsing/BisonParser.py   mython(Download)
	self.productions = []
	errtoken = BisonSymbols.getSymbol("error")
	errtoken.klass = BisonSymbols.STOKEN
	errtoken.userTokenNumber = 256
	undeftoken = BisonSymbols.getSymbol("$undefined")
	undeftoken.klass = BisonSymbols.STOKEN
		    self.copyDefinition()
		elif tok == TOKEN:
		    self.parseTokenDecl(BisonSymbols.STOKEN,
					BisonSymbols.SNTERM)
		elif tok == NTERM:
		    self.parseTokenDecl(BisonSymbols.SNTERM,
					BisonSymbols.STOKEN)
		  self.lexor.symval.tag == '"' and
		  symbol):
		self.lexor.symval.klass = BisonSymbols.STOKEN
		self.lexor.symval.typeName = typename
		self.lexor.symval.userTokenNumber = symbol.userTokenNumber

src/m/y/mython-HEAD/basil/parsing/BisonLexor.py   mython(Download)
	    self.strval = "'" + tokenBuf + "'"
	    self.symval = BisonSymbols.getSymbol(self.strval)
	    self.symval.klass = BisonSymbols.STOKEN
	    if self.symval.userTokenNumber == None:
		self.symval.userTokenNumber = ord(code)
	    self.strval = tokenBuf
	    self.symval = BisonSymbols.getSymbol(tokenBuf)
	    self.symval.klass = BisonSymbols.STOKEN
	    return IDENTIFIER
	elif c == ',':