public class lower_case extends DefaultInternalAction
Internal action: .lower_case(S1,S2)
.
Description: converts the string S1 into lower case S2.
Parameters:
Examples:
.lower_case("CArtAgO",X)
: unifies X with "cartago".
concat
,
delete
,
length
,
reverse
,
Serialized FormModifier and Type | Field and Description |
---|---|
private static InternalAction |
singleton |
Constructor and Description |
---|
lower_case() |
Modifier and Type | Method and Description |
---|---|
static InternalAction |
create() |
java.lang.Object |
execute(TransitionSystem ts,
Unifier un,
Term[] args)
Executes the internal action.
|
int |
getMaxArgs() |
int |
getMinArgs() |
canBeUsedInContext, checkArguments, destroy, prepareArguments, suspendIntention
private static InternalAction singleton
public static InternalAction create()
public int getMinArgs()
getMinArgs
in class DefaultInternalAction
public int getMaxArgs()
getMaxArgs
in class DefaultInternalAction
public java.lang.Object execute(TransitionSystem ts, Unifier un, Term[] args) throws java.lang.Exception
InternalAction
execute
in interface InternalAction
execute
in class DefaultInternalAction
java.lang.Exception