jsdsi
Class PrefixTag
java.lang.Object
|
+--jsdsi.Obj
|
+--jsdsi.Tag
|
+--jsdsi.ExprTag
|
+--jsdsi.PrefixTag
- public class PrefixTag
- extends ExprTag
A tag that matches all strings with a given prefix.
- Author:
- Sameer Ajmani
Constructor Summary |
PrefixTag(java.lang.String p)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PrefixTag
public PrefixTag(java.lang.String p)
implies
boolean implies(Tag that)
- Specified by:
implies
in class Tag
equals
public boolean equals(java.lang.Object that)
- Specified by:
equals
in class Obj
hashCode
public int hashCode()
- Specified by:
hashCode
in class Obj
getPrefix
public java.lang.String getPrefix()
toTagSexp
public Sexp toTagSexp()
- Specified by:
toTagSexp
in class Tag
parsePrefixTag
static PrefixTag parsePrefixTag(java.util.Iterator tbody)
throws SexpParseException
SexpParseException