| /******************************************************************************* |
| * Copyright (c) 2009, 2012 Sierra Wireless 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 |
| * |
| * Contributors: |
| * Sierra Wireless - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.ldt.core.internal.ast.parser; |
| |
| import org.eclipse.dltk.compiler.SourceElementRequestVisitor; |
| import org.eclipse.dltk.core.AbstractSourceElementParser; |
| import org.eclipse.ldt.core.LuaNature; |
| |
| public class LuaSourceElementParser extends AbstractSourceElementParser { |
| |
| public SourceElementRequestVisitor createVisitor() { |
| return new LuaSourceElementRequestorVisitor(getRequestor()); |
| } |
| |
| @Override |
| protected String getNatureId() { |
| return LuaNature.ID; |
| } |
| } |