org.apache.geronimo.gshell.parser
Class ASTQuotedString

java.lang.Object
  extended by org.apache.geronimo.gshell.parser.NodeSupport
      extended by org.apache.geronimo.gshell.parser.SimpleNode
          extended by org.apache.geronimo.gshell.parser.StringSupport
              extended by org.apache.geronimo.gshell.parser.ASTQuotedString
All Implemented Interfaces:
org.apache.geronimo.gshell.parser.Node

public class ASTQuotedString
extends StringSupport

Represents a quoted (with double quotes) argument.

Version:
$Rev: 572187 $ $Date: 2007-09-02 16:19:30 -0700 (Sun, 02 Sep 2007) $

Field Summary
 
Fields inherited from class org.apache.geronimo.gshell.parser.StringSupport
token
 
Fields inherited from class org.apache.geronimo.gshell.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTQuotedString(org.apache.geronimo.gshell.parser.CommandLineParser p, int id)
           
ASTQuotedString(int id)
           
 
Method Summary
 String getValue()
           
 Object jjtAccept(org.apache.geronimo.gshell.parser.CommandLineParserVisitor visitor, Object data)
          Accept the visitor.
 
Methods inherited from class org.apache.geronimo.gshell.parser.StringSupport
getToken, setToken, toString, unquote
 
Methods inherited from class org.apache.geronimo.gshell.parser.SimpleNode
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTQuotedString

public ASTQuotedString(int id)

ASTQuotedString

public ASTQuotedString(org.apache.geronimo.gshell.parser.CommandLineParser p,
                       int id)
Method Detail

getValue

public String getValue()
Overrides:
getValue in class StringSupport

jjtAccept

public Object jjtAccept(org.apache.geronimo.gshell.parser.CommandLineParserVisitor visitor,
                        Object data)
Accept the visitor.

Specified by:
jjtAccept in interface org.apache.geronimo.gshell.parser.Node
Overrides:
jjtAccept in class org.apache.geronimo.gshell.parser.SimpleNode


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.