use of com.robotoworks.mechanoid.db.sqliteModel.UpdateStatement in project mechanoid by robotoworks.
the class XSqliteModelScopeProvider method scope_UpdateColumnExpression_columnName.
public IScope scope_UpdateColumnExpression_columnName(final UpdateColumnExpression context, final EReference reference) {
UpdateStatement updateStmt = ModelUtil.<UpdateStatement>getAncestorOfType(context, UpdateStatement.class);
DDLStatement containingStmt = ModelUtil.<DDLStatement>getAncestorOfType(context, DDLStatement.class);
TableDefinition _table = updateStmt.getTable();
ArrayList<EObject> _findColumnDefs = ModelUtil.findColumnDefs(containingStmt, _table);
return Scopes.scopeFor(_findColumnDefs, IScope.NULLSCOPE);
}
Aggregations