forked from qt-creator/qt-creator
		
	QmlJS: Remove Link::scopeChainAt, initialize scope chain in constructor.
Use ScopeBuilder.push(...) for the same functionality. Reviewed-by: Erik Verbruggen
This commit is contained in:
		| @@ -39,6 +39,12 @@ void ScopeBuilder::push(AST::Node *node) | ||||
|     _context->scopeChain().update(); | ||||
| } | ||||
|  | ||||
| void ScopeBuilder::push(const QList<AST::Node *> &nodes) | ||||
| { | ||||
|     foreach (Node *node, nodes) | ||||
|         push(node); | ||||
| } | ||||
|  | ||||
| void ScopeBuilder::pop() | ||||
| { | ||||
|     Node *toRemove = _nodes.last(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user