Class ASMString
java.lang.Object
org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny
org.eclipse.m2m.atl.engine.vm.nativelib.ASMString
-
Field Summary
FieldsFields inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
nativeImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ASMStringconcat(StackFrame frame, ASMString self, ASMString o) cString()static ASMBooleanendsWith(StackFrame frame, ASMString self, ASMString o) booleanstatic ASMOclAnyevalSOTS(StackFrame frame, ASMString self, ASMTuple args) static ASMOclAnyevalSOTSBrackets(StackFrame frame, ASMString self, ASMTuple args) static FileinthashCode()static ASMIntegerindexOf(StackFrame frame, ASMString self, ASMString o) static ASMOclAnyinject(StackFrame frame, ASMString self, ASMString targetModelName, ASMString kind, ASMString params) static ASMIntegerlastIndexOf(StackFrame frame, ASMString self, ASMString o) static ASMBooleanoperatorEQ(StackFrame frame, ASMString self, ASMOclAny o) static ASMBooleanoperatorGE(StackFrame frame, ASMString self, ASMString o) static ASMBooleanoperatorGT(StackFrame frame, ASMString self, ASMString o) static ASMBooleanoperatorLE(StackFrame frame, ASMString self, ASMString o) static ASMBooleanoperatorLT(StackFrame frame, ASMString self, ASMString o) static ASMBooleanoperatorNE(StackFrame frame, ASMString self, ASMOclAny o) static ASMStringoperatorPlus(StackFrame frame, ASMString self, ASMString o) static voidprintln(StackFrame frame, ASMString self) static ASMOclAnyreadFrom(StackFrame frame, ASMString self) static ASMStringregexReplaceAll(StackFrame frame, ASMString self, ASMString a, ASMString b) static ASMStringreplaceAll(StackFrame frame, ASMString self, ASMString a, ASMString b) static ASMIntegersize(StackFrame frame, ASMString self) static ASMSequencesplit(StackFrame frame, ASMString self, ASMString a) static ASMBooleanstartsWith(StackFrame frame, ASMString self, ASMString o) static ASMStringsubstring(StackFrame frame, ASMString self, ASMInteger start, ASMInteger end) static ASMBooleantoBoolean(StackFrame frame, ASMString self) static ASMStringtoCString(StackFrame frame, ASMString self) static ASMIntegertoInteger(StackFrame frame, ASMString self) static ASMStringtoLower(StackFrame frame, ASMString self) static ASMRealtoReal(StackFrame frame, ASMString self) static ASMSequencetoSequence(StackFrame frame, ASMString self) toString()static ASMStringtoString(StackFrame frame, ASMString self) static ASMStringtoUpper(StackFrame frame, ASMString self) static ASMStringtrim(StackFrame frame, ASMString self) static ASMBooleanwriteTo(StackFrame frame, ASMString self, ASMString fileName) static ASMBooleanwriteToWithCharset(StackFrame frame, ASMString self, ASMString fileName, ASMString charset) Methods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny
asBag, asSequence, asSet, check, debug, findOperation, findOperation, get, getHelper, getNamedTargetFromSource, getOclAnyType, getType, invoke, invoke, invokeSuper, isHelper, oclIsKindOf, oclIsTypeOf, oclIsUndefined, oclType, operatorEQ, operatorNE, output, refGetValue, refImmediateComposite, refImmediateComposite, refInvokeOperation, refSetValue, refUnsetValue, set, setType, toString, unsetMethods inherited from class org.eclipse.m2m.atl.engine.vm.nativelib.ASMNativeObject
getNativeImpl
-
Field Details
-
myType
-
-
Constructor Details
-
ASMString
-
-
Method Details
-
toString
-
getSymbol
-
equals
-
hashCode
public int hashCode() -
cString
-
size
-
concat
-
substring
public static ASMString substring(StackFrame frame, ASMString self, ASMInteger start, ASMInteger end) -
toInteger
-
toReal
-
toBoolean
- Throws:
Exception
-
operatorEQ
-
operatorNE
-
toSequence
-
operatorLT
-
operatorLE
-
operatorGT
-
operatorGE
-
operatorPlus
-
toCString
-
toUpper
-
toLower
-
trim
-
startsWith
-
endsWith
-
indexOf
-
lastIndexOf
-
regexReplaceAll
-
split
-
replaceAll
-
readFrom
-
writeTo
-
writeToWithCharset
public static ASMBoolean writeToWithCharset(StackFrame frame, ASMString self, ASMString fileName, ASMString charset) -
println
-
toString
-
inject
-
evalSOTS
-
evalSOTSBrackets
-
getFile
- Parameters:
path- The absolute or relative path to a file.- Returns:
- The file in the workspace, or the file in the filesystem if the workspace is not available.
-