Changeset View
Changeset View
Standalone View
Standalone View
duchain/builders/contextbuilder.cpp
Context not available. | |||||
248 | Q_ASSERT(!parameters->inSymbolTable()); | 248 | Q_ASSERT(!parameters->inSymbolTable()); | ||
---|---|---|---|---|---|
249 | 249 | | |||
250 | visitParameterList(node->parameters); | 250 | visitParameterList(node->parameters); | ||
251 | if (node->returnType) { | ||||
252 | visitReturnType(node->returnType); | ||||
253 | } | ||||
251 | closeContext(); | 254 | closeContext(); | ||
252 | 255 | | |||
253 | if ( !m_isInternalFunctions && node->methodBody ) { | 256 | if ( !m_isInternalFunctions && node->methodBody ) { | ||
Context not available. | |||||
275 | Q_ASSERT(!parameters->inSymbolTable()); | 278 | Q_ASSERT(!parameters->inSymbolTable()); | ||
276 | 279 | | |||
277 | visitParameterList(node->parameters); | 280 | visitParameterList(node->parameters); | ||
281 | if (node->returnType) { | ||||
282 | visitReturnType(node->returnType); | ||||
283 | } | ||||
278 | closeContext(); | 284 | closeContext(); | ||
279 | 285 | | |||
280 | if ( !m_isInternalFunctions && node->functionBody ) { | 286 | if ( !m_isInternalFunctions && node->functionBody ) { | ||
Context not available. | |||||
296 | Q_ASSERT(!parameters->inSymbolTable()); | 302 | Q_ASSERT(!parameters->inSymbolTable()); | ||
297 | 303 | | |||
298 | visitParameterList(node->parameters); | 304 | visitParameterList(node->parameters); | ||
305 | if (node->returnType) { | ||||
306 | visitReturnType(node->returnType); | ||||
307 | } | ||||
299 | closeContext(); | 308 | closeContext(); | ||
300 | 309 | | |||
301 | DUContext* imported = nullptr; | 310 | DUContext* imported = nullptr; | ||
Context not available. |