engine
Class GenericSelectorDescription

java.lang.Object
  |
  +--engine.GenericSelectorDescription

class GenericSelectorDescription
extends java.lang.Object
implements ExpressionDescription, AssignableSelection

A selector for an unknown type of register. Used for late name resolving. The corresponding instances are:

See Also:
@see IntSelector @see RealSelector, Serialized Form

Field Summary
(package private)  ExpressionDescription end
           
(package private)  FQNDescription fqn
           
(package private)  boolean hasLimits
          true if start & end are valid.
(package private)  ExpressionDescription start
           
(package private)  byte strength
           
(package private)  ExpressionDescription theRealSelector
          The type-specific selector.
(package private)  boolean tryContSelection
          true if this selector will be continuously assigned
 
Constructor Summary
(package private) GenericSelectorDescription(FQNDescription fqn)
           
(package private) GenericSelectorDescription(FQNDescription fqn, ExpressionDescription start, ExpressionDescription end, boolean hasLimits)
          pre: (hasLimits = true && start != null && end != null) || hasLimits = false
 
Method Summary
 Expression instantiate(NameSpace ns)
           
 void toContSelection()
           
 void toContSelection(byte strength)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

fqn

FQNDescription fqn

start

ExpressionDescription start

end

ExpressionDescription end

hasLimits

boolean hasLimits
true if start & end are valid.

tryContSelection

boolean tryContSelection
true if this selector will be continuously assigned

strength

byte strength

theRealSelector

ExpressionDescription theRealSelector
The type-specific selector. Created at the first instantiation request, and used to make the other instantiations faster.
Constructor Detail

GenericSelectorDescription

GenericSelectorDescription(FQNDescription fqn,
                           ExpressionDescription start,
                           ExpressionDescription end,
                           boolean hasLimits)
pre: (hasLimits = true && start != null && end != null) || hasLimits = false

GenericSelectorDescription

GenericSelectorDescription(FQNDescription fqn)
Method Detail

instantiate

public Expression instantiate(NameSpace ns)
                       throws ParseException
Specified by:
instantiate in interface ExpressionDescription

toContSelection

public void toContSelection(byte strength)
                     throws ParseException
Specified by:
toContSelection in interface AssignableSelection

toContSelection

public void toContSelection()
                     throws ParseException
Specified by:
toContSelection in interface AssignableSelection

toString

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