Home | History | Annotate | Download | only in tools

Lines Matching defs:string

3 import sys, re, string
59 tokSTRING = "<string>"
64 an 'id' and a 'value'. the id is a string that identifies
65 the token's class, while the value is the string of the
98 return "(string '%s')" % self.value
620 # op is an "operator" string
711 s = self.arg # string value
715 return string.atoi(s)
959 where "op" is a string describing the operation"""
1034 val = string.atoi(v)
1172 return ("string", t.value), i+1
1607 return string.join([ str(x) for x in tok[:i+1] ],"")
1714 """generate the string representation of a given block"""
2242 lines = string.split(text, '\n')