Utilities/ModuleParser.py

changeset 2396
89475661e400
parent 2302
f29e9405c851
child 2525
8b507a9a2d40
child 2768
eab35f6e709f
child 2924
66c644db24f4
equal deleted inserted replaced
2392:3376434c2ed6 2396:89475661e400
162 (?P<VariableName> \w+ ) 162 (?P<VariableName> \w+ )
163 [ \t]* = [ \t]* (?P<VariableSignal> (?:pyqtSignal)? ) 163 [ \t]* = [ \t]* (?P<VariableSignal> (?:pyqtSignal)? )
164 ) 164 )
165 165
166 | (?P<Import> 166 | (?P<Import>
167 ^ (?: import | from [ \t]+ \. [ \t]+ import ) [ \t]+ 167 ^ [ \t]* (?: import | from [ \t]+ \. [ \t]+ import ) [ \t]+
168 (?P<ImportList> (?: [^#;\\\n]+ (?: \\\n )* )* ) 168 (?P<ImportList> (?: [^#;\\\n]+ (?: \\\n )* )* )
169 ) 169 )
170 170
171 | (?P<ImportFrom> 171 | (?P<ImportFrom>
172 ^ from [ \t]+ 172 ^ [ \t]* from [ \t]+
173 (?P<ImportFromPath> 173 (?P<ImportFromPath>
174 \.* \w+ 174 \.* \w+
175 (?: 175 (?:
176 [ \t]* \. [ \t]* \w+ 176 [ \t]* \. [ \t]* \w+
177 )* 177 )*

eric ide

mercurial