Package net.hydromatic.morel.eval
Class ApplicableImpl
java.lang.Object
net.hydromatic.morel.eval.ApplicableImpl
- All Implemented Interfaces:
Applicable,Describable
- Direct Known Subclasses:
Applicable2,Applicable3,Codes.InteractUse,Codes.ListHd,Codes.ListLast,Codes.ListTabulate,Codes.ListTl,Codes.OptionValOf,Codes.RealCheckFloat,Codes.RealSign,Codes.RelationalOnly,Codes.StringConcat,Codes.StringConcatWith
Abstract implementation of
Applicable that describes itself
with a constant name.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedApplicableImpl(String name) protectedApplicableImpl(String name, Pos pos) protectedApplicableImpl(BuiltIn builtIn) Creates an ApplicableImpl that directly implements a BuiltIn.protectedApplicableImpl(BuiltIn builtIn, Pos pos) Creates an ApplicableImpl that directly implements a BuiltIn. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.hydromatic.morel.eval.Applicable
apply, asCode
-
Field Details
-
name
-
pos
-
-
Constructor Details
-
ApplicableImpl
-
ApplicableImpl
-
ApplicableImpl
Creates an ApplicableImpl that directly implements a BuiltIn. The parameter is currently only for provenance purposes. -
ApplicableImpl
Creates an ApplicableImpl that directly implements a BuiltIn. The parameter is currently only for provenance purposes.
-
-
Method Details
-
toString
-
describe
- Specified by:
describein interfaceDescribable
-