org.capml.quasi
Class QuasiContentExprHole

java.lang.Object
  |
  +--org.capml.quasi.QuasiContent
        |
        +--org.capml.quasi.QuasiContentExprHole
All Implemented Interfaces:
Marker, MatchMaker, PassByConstruction, Persistent, Selfless, Serializable

Deprecated. Use Term trees instead.

public class QuasiContentExprHole
extends QuasiContent

Untamed: Represents a $-hole in Content position in a quasi-literal XML tree.

This $-hole must be filled in with concrete Content, as defined in the QuasiContent class comment.

Author:
Mark S. Miller
See Also:
Serialized Form

Field Summary
private  int myIndex
          Deprecated.  
static StaticMaker QuasiContentExprHoleMaker
          Deprecated. Enabled:
(package private) static long serialVersionUID
          Deprecated.  
 
Fields inherited from interface org.erights.e.elib.serial.Persistent
HONORARY, HONORED_NAMES
 
Fields inherited from interface org.erights.e.elib.tables.Selfless
HONORARY, HONORED_NAMES
 
Fields inherited from interface org.erights.e.elib.serial.PassByConstruction
HONORARY, HONORED_NAMES
 
Constructor Summary
QuasiContentExprHole(int index)
          Deprecated. Enabled:
 
Method Summary
 Object[] getSpreadUncall()
          Deprecated. Enabled: Uses 'QuasiContentExprHoleMaker(myIndex)'
 boolean matchBind(ConstList args, Object specimen, FlexList bindings)
          Deprecated. Enabled: Is args[myIndex] equivalent to specimen? Since a $-hole doesn't contain any @-holes, 'bindings' is ignored and a boolean is simply returned.
 void prettyPrintOn(TextWriter out)
          Deprecated. Enabled: Prints as "${}"
 Object substitute(Object[] args)
          Deprecated. Enabled: args[myIndex] must be Content -- the equivalent ContentList is returned.
 
Methods inherited from class org.capml.quasi.QuasiContent
__printOn, bind, matchBind, optTheOne, toContent, toContentList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
Deprecated. 

QuasiContentExprHoleMaker

public static final StaticMaker QuasiContentExprHoleMaker
Deprecated. 
Enabled:


myIndex

private final int myIndex
Deprecated. 
Constructor Detail

QuasiContentExprHole

public QuasiContentExprHole(int index)
Deprecated. 
Enabled:

Method Detail

getSpreadUncall

public Object[] getSpreadUncall()
Deprecated. 
Enabled: Uses 'QuasiContentExprHoleMaker(myIndex)'


substitute

public Object substitute(Object[] args)
Deprecated. 
Enabled: args[myIndex] must be Content -- the equivalent ContentList is returned.

Specified by:
substitute in class QuasiContent

matchBind

public boolean matchBind(ConstList args,
                         Object specimen,
                         FlexList bindings)
Deprecated. 
Enabled: Is args[myIndex] equivalent to specimen? Since a $-hole doesn't contain any @-holes, 'bindings' is ignored and a boolean is simply returned.

Specified by:
matchBind in interface MatchMaker
Specified by:
matchBind in class QuasiContent

prettyPrintOn

public void prettyPrintOn(TextWriter out)
                   throws IOException
Deprecated. 
Enabled: Prints as "${}"

Specified by:
prettyPrintOn in class QuasiContent
IOException


comments?