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
344 value = "/*"
350 return tok.set(tokEOF,value)
354 value += c
356 value += "/"
358 return tok.set(tokSPACE,value)
549 if self.token.value == id and (tokid == tokIDENT or tokid == tokNUMBER):
560 def expectTokenVal(self,id,value,line,col): argument
562 if self.token.value != value:
563 raise BadExpectedToken, "### BAD VALUE: '%s' expecting '%s'" % (self.token.value,value)
700 def __init__(self,value): argument
702 self.arg = value
927 macroname = self.peek().value
1025 v = self.tok[i].value[:]
1038 v = self.tok[i].value[:]
1116 return ("defined",t.value), i
1128 name = t.value
1172 return ("string", t.value), i+1
1579 return self.tokens[0].value
1594 return self.tokens[0].value
1720 tok.value = " "
1813 elif tok.value in [ 'struct', 'typedef', 'enum', 'union', '__extension__' ]:
1816 if tok.value in [ 'static', 'extern', '__KINLINE' ]:
1821 ident = b.tokens[j].value
1936 directive = tok.value