diff options
Diffstat (limited to 'autotools/org.eclipse.linuxtools.cdt.autotools/src/org/eclipse/linuxtools/cdt/autotools/ui/editors/parser/AutoconfMacroArgumentElement.java')
-rw-r--r-- | autotools/org.eclipse.linuxtools.cdt.autotools/src/org/eclipse/linuxtools/cdt/autotools/ui/editors/parser/AutoconfMacroArgumentElement.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/autotools/org.eclipse.linuxtools.cdt.autotools/src/org/eclipse/linuxtools/cdt/autotools/ui/editors/parser/AutoconfMacroArgumentElement.java b/autotools/org.eclipse.linuxtools.cdt.autotools/src/org/eclipse/linuxtools/cdt/autotools/ui/editors/parser/AutoconfMacroArgumentElement.java new file mode 100644 index 0000000000..24bf1d5f0b --- /dev/null +++ b/autotools/org.eclipse.linuxtools.cdt.autotools/src/org/eclipse/linuxtools/cdt/autotools/ui/editors/parser/AutoconfMacroArgumentElement.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2008 Nokia Corporation. + * 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: + * Ed Swartz (Nokia) - initial API and implementation + *******************************************************************************/ + +package org.eclipse.linuxtools.cdt.autotools.ui.editors.parser; + +/** + * This is a macro argument node. It may also hold + * other AutoconfMacroElements. The source range includes any quotes around an argument + * but the #getName() has them stripped. + * @author eswartz + * + */ +public class AutoconfMacroArgumentElement extends AutoconfElement { + + public AutoconfMacroArgumentElement() { + super(""); // //$NON-NLS-N$ + } + public AutoconfMacroArgumentElement(String name) { + super(name); // //$NON-NLS-N$ + } + public String getVar() { + return super.getVar(); + } +} |