org.sonatype.gshell.parser.impl
Class ArgumentSupport
java.lang.Object
org.sonatype.gshell.parser.impl.SimpleNode
org.sonatype.gshell.parser.impl.ArgumentSupport
- All Implemented Interfaces:
- Node
public abstract class ArgumentSupport
- extends SimpleNode
Support for argument types.
- Since:
- 2.0
- Author:
- Jason Dillon
| Methods inherited from class org.sonatype.gshell.parser.impl.SimpleNode |
childrenAccept, dump, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString |
ArgumentSupport
public ArgumentSupport(int id)
ArgumentSupport
public ArgumentSupport(Parser p,
int id)
setValue
public void setValue(String value)
getValue
public String getValue()
toString
public String toString()
- Overrides:
toString in class SimpleNode
unquote
protected String unquote(String value)
- Returns an unquoted value.
- Parameters:
value - String to unquote, must not be null; length must be at least 2
- Returns:
- Unquoted value
Copyright © 2008-2011 Sonatype. All Rights Reserved.