blob: 3a9240213313226aa70fde0a83d5bff8c36d569e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*******************************************************************************/
package org.eclipse.dltk.python.internal.core.parser;
import org.eclipse.dltk.compiler.SourceElementRequestVisitor;
import org.eclipse.dltk.core.AbstractSourceElementParser;
import org.eclipse.dltk.python.core.PythonNature;
import org.eclipse.dltk.python.internal.core.parser.visitors.PythonSourceElementRequestor;
public class PythonSourceElementParser extends AbstractSourceElementParser {
@Override
protected SourceElementRequestVisitor createVisitor() {
return new PythonSourceElementRequestor(getRequestor());
}
@Override
protected String getNatureId() {
return PythonNature.NATURE_ID;
}
}