Utilities/ModuleParser.py

changeset 1229
a8207dc73672
parent 1227
c5db073a124f
child 1302
95538c8d07c1
equal deleted inserted replaced
1228:7afaf2fca55b 1229:a8207dc73672
494 start, i = m.span() 494 start, i = m.span()
495 495
496 if m.start("MethodModifier") >= 0: 496 if m.start("MethodModifier") >= 0:
497 modifierIndent = _indent(m.group("MethodModifierIndent")) 497 modifierIndent = _indent(m.group("MethodModifierIndent"))
498 modifierType = m.group("MethodModifierType") 498 modifierType = m.group("MethodModifierType")
499
499 elif m.start("Method") >= 0: 500 elif m.start("Method") >= 0:
500 # found a method definition or function 501 # found a method definition or function
501 thisindent = _indent(m.group("MethodIndent")) 502 thisindent = _indent(m.group("MethodIndent"))
502 meth_name = m.group("MethodName") 503 meth_name = m.group("MethodName")
503 meth_sig = m.group("MethodSignature") 504 meth_sig = m.group("MethodSignature")

eric ide

mercurial