Home | History | Annotate | Download | only in scripts

Lines Matching refs:def

90   def __init__(self, line=-1, column=-1):
94 def __eq__(self, rhs):
97 def __ne__(self, rhs):
100 def __lt__(self, rhs):
104 def __le__(self, rhs):
107 def __gt__(self, rhs):
110 def __ge__(self, rhs):
113 def __str__(self):
119 def __add__(self, offset):
122 def __sub__(self, offset):
125 def Clone(self):
132 def Eof():
140 def __init__(self, start=None, end=None, value=None, token_type=None):
152 def __str__(self):
156 def Clone(self):
163 def StartsWith(lines, pos, string):
169 def FindFirstInLine(line, token_table):
186 def FindFirst(lines, token_table, cursor):
208 def SubString(lines, start, end):
226 def StripMetaComments(str):
237 def MakeToken(lines, start, end, token_type):
243 def ParseToken(lines, pos, regex, token_type):
261 def Skip(lines, pos, regex):
270 def SkipUntil(lines, pos, regex, token_type):
281 def ParseExpTokenInParens(lines, pos):
282 def ParseInParens(pos):
289 def Parse(pos):
303 def RStripNewLineFromToken(token):
310 def TokenizeLines(lines, pos):
382 def Tokenize(s):
391 def __init__(self, atomic_code_list=None):
396 def __init__(self, identifier=None, atomic_code=None):
402 def __init__(self, identifier=None, exp1=None, exp2=None):
409 def __init__(self, identifier=None, sep=None, code=None):
416 def __init__(self, else_branch=None):
421 def __init__(self, exp=None, then_branch=None, else_branch=None):
428 def __init__(self, token=None):
433 def __init__(self, token):
438 def __init__(self, token, python_exp):
443 def PopFront(a_list):
449 def PushFront(a_list, elem):
453 def PopToken(a_list, token_type=None):
463 def PeekToken(a_list):
470 def ParseExpNode(token):
475 def ParseElseNode(tokens):
476 def Pop(token_type=None):
503 def ParseAtomicCodeNode(tokens):
504 def Pop(token_type=None):
564 def ParseCodeNode(tokens):
577 def ParseToAST(pump_src_text):
585 def __init__(self):
589 def Clone(self):
595 def PushVariable(self, var, value):
605 def PopVariable(self):
608 def
611 def PopRange(self):
614 def GetValue(self, identifier):
622 def EvalExp(self, exp):
632 def GetRange(self, identifier):
642 def __init__(self):
645 def GetLastLine(self):
652 def Append(self, s):
656 def RunAtomicCode(env, node, output):
702 def RunCode(env, code_node, output):
707 def IsComment(cur_line):
711 def IsInPreprocessorDirevative(prev_lines, cur_line):
717 def WrapComment(line, output):
741 def WrapCode(line, line_concat, output):
771 def WrapPreprocessorDirevative(line, output):
775 def WrapPlainCode(line, output):
779 def IsHeaderGuardOrInclude(line):
784 def WrapLongLine(line, output):
806 def BeautifyCode(string):
815 def ConvertFromPumpSource(src_text):
823 def main(argv):