Lines Matching refs:value
74 self.value = None
81 self.value = val
83 self.value = id
88 self.value = src.value
94 return "(ident %s)" % self.value
96 return "(number %s)" % self.value
98 return "(string '%s')" % self.value
103 if self.id == tokSPACE and self.value == "\\":
111 return self.value
113 return self.value
115 return self.value
119 if self.value == "\\": # trailing \
122 return self.value
279 value = "/*"
284 return tok.set(tokEOF,value)
288 value += c
290 value += "/"
291 return tok.set(tokSPACE,value)
482 if self.token.value == id and (tokid == tokIDENT or tokid == tokNUMBER):
493 def expectTokenVal(self,id,value,line,col): argument
495 if self.token.value != value:
496 raise BadExpectedToken, "### BAD VALUE: '%s' expecting '%s'" % (self.token.value,value)
624 v = self.tok[self.i].value[:]
636 v = self.tok[self.i].value[:]
705 return ("defined", t.value)
717 name = t.value
920 value = int(macros[name])
921 return ("int", value)
934 value = int(macros[name])
935 expanded = ("int", value)
1158 return self.tokens[0].value
1172 return self.tokens[0].value
1235 tok2.value = " "
1383 tok.value = " "
1449 if tok.value in [ 'struct', 'typedef', 'enum', 'union', '__extension__' ]:
1478 ident = b.tokens[j].value
1527 if tok.value in replacements:
1528 tok.value = replacements[tok.value]
1605 directive = tok.value