erjang
Class EPair

java.lang.Object
  extended by erjang.EObject
      extended by erjang.ECons
          extended by erjang.EPair
All Implemented Interfaces:
java.lang.Comparable<EObject>

public class EPair
extends ECons


Field Summary
 EObject head
           
 EObject tail
           
 
Fields inherited from class erjang.EObject
CMP_ORDER_ATOM, CMP_ORDER_BITSTRING, CMP_ORDER_ERJANG_INTERNAL, CMP_ORDER_FUN, CMP_ORDER_LIST, CMP_ORDER_NUMBER, CMP_ORDER_PID, CMP_ORDER_PORT, CMP_ORDER_REFERENCE, CMP_ORDER_TUPLE
 
Constructor Summary
EPair(EObject h, EObject t)
           
 
Method Summary
 Type emit_const(MethodVisitor fa)
           
 EObject head()
           
 EObject tail()
           
 ECons testNonEmptyList()
           
 java.lang.String toString()
           
 
Methods inherited from class erjang.ECons
collectCharList, collectIOList, compileMatch, count, match, prepend, testCons
 
Methods inherited from class erjang.EObject
add, add, add, add, asInt, band, band, band, bnot, bor, bor, bor, bsl, bsl, bsr, bxor, bxor, bxor, compareTo, cons, divide, divide, equals, equals, equalsExactly, ge, idiv, idiv, irem, irem, isBoolean, isNil, multiply, multiply, multiply, multiply, negate, subtract, subtract, testAtom, testBigString, testBinary, testBinMatchState, testBitString, testBoolean, testFloat, testFunction, testFunction2, testHandle, testInteger, testInternalPID, testInternalPort, testNil, testNumber, testPID, testPort, testPortControl, testReference, testSeq, testSmall, testString, testTuple
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

head

public final EObject head

tail

public final EObject tail
Constructor Detail

EPair

public EPair(EObject h,
             EObject t)
Method Detail

testNonEmptyList

public ECons testNonEmptyList()
Overrides:
testNonEmptyList in class EObject

head

public EObject head()
Specified by:
head in class ECons

tail

public EObject tail()
Specified by:
tail in class ECons

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

emit_const

public Type emit_const(MethodVisitor fa)
Overrides:
emit_const in class EObject


TBD erjang license note