Class Signature.Vbl
java.lang.Object
com.singularsys.extensions.lambda.Signature
com.singularsys.extensions.lambda.Signature.OuterSig
com.singularsys.extensions.lambda.Signature.Vbl
- Enclosing class:
Signature
A signature representing a single variable.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.singularsys.extensions.lambda.Signature
Signature.InnerSig, Signature.ListSig, Signature.OuterSig, Signature.Pat, Signature.PVbl, Signature.Vbl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcalculateArgs(Stack<Object> stack, List<Object> args) Convert arguments on the stack to a list of arguments matching the pattern in this signaturegetSigs()Return a list of signaturesbooleanisSimple()Simple signatures likexor[x,y,z]protected booleanprotected booleanbooleanintsize()Number of element in a compound signaturetoString()Methods inherited from class com.singularsys.extensions.lambda.Signature
calcInnerSig, calcSig
-
Constructor Details
-
Vbl
public Vbl()
-
-
Method Details
-
isSimple
public boolean isSimple()Description copied from class:SignatureSimple signatures likexor[x,y,z] -
size
public int size()Description copied from class:SignatureNumber of element in a compound signature -
calculateArgs
Description copied from class:SignatureConvert arguments on the stack to a list of arguments matching the pattern in this signature- Specified by:
calculateArgsin classSignature- Parameters:
stack- input arguments to the functionargs- output list of values matching the variables in the signature
-
toString
-
getSigs
Description copied from class:SignatureReturn a list of signatures -
match
-
match
-
matchN
-