| /******************************************************************************* |
| * Copyright (c) 2005, 2016 IBM Corporation and others. |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0. |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| *******************************************************************************/ |
| package org.eclipse.dltk.python.internal.core.codeassist; |
| |
| import org.eclipse.dltk.ast.ASTNode; |
| import org.eclipse.dltk.ast.declarations.ModuleDeclaration; |
| |
| public class PythonSelectionParser extends PythonAssistParser { |
| private final boolean VERBOSE = true; |
| |
| @Override |
| public void handleNotInElement(ASTNode node, int position) { |
| } |
| |
| @Override |
| public void parseBlockStatements(ASTNode node, ASTNode inNode, int position) { |
| if( VERBOSE ) { |
| System.out.println(node); |
| } |
| } |
| |
| @Override |
| public ModuleDeclaration getModule() { |
| return null; |
| } |
| } |