MetaTF.Parser
Class ASTTraceString
java.lang.Object
|
+--MetaTF.Parser.SimpleNode
|
+--MetaTF.Parser.ASTTraceString
- All Implemented Interfaces:
- Node
- public class ASTTraceString
- extends SimpleNode
Abstract syntax tree node representing a string literal
- Version:
- rel-1-2 ($Revision: 1.2 $, $Date: 2000/12/15 16:29:54 $),
- Author:
- Richard Jones
- See Also:
- The MetaTF Grammar
Methods inherited from class MetaTF.Parser.SimpleNode |
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASTTraceString
public ASTTraceString(int id)
ASTTraceString
public ASTTraceString(MetaTFParser p,
int id)
jjtAccept
public java.lang.Object jjtAccept(MetaTFParserVisitor visitor,
java.lang.Object data)
- Accept the visitor.
- Overrides:
jjtAccept
in class SimpleNode
getString
public java.lang.String getString()
- Returns:
- the string literal
setString
public void setString(java.lang.String im)
- Set the string. Called by the parser.
Convert text representation to a Java string. Need strip enclosing quotes,
deal with escape sequences, etc
- Parameters:
im
- the string literal found in the DTD
Copyright © 2001 - Richard Jones MetaTF