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 ASMString
concat
(StackFrame frame, ASMString self, ASMString o) cString()
static ASMBoolean
endsWith
(StackFrame frame, ASMString self, ASMString o) boolean
static ASMOclAny
evalSOTS
(StackFrame frame, ASMString self, ASMTuple args) static ASMOclAny
evalSOTSBrackets
(StackFrame frame, ASMString self, ASMTuple args) static File
int
hashCode()
static ASMInteger
indexOf
(StackFrame frame, ASMString self, ASMString o) static ASMOclAny
inject
(StackFrame frame, ASMString self, ASMString targetModelName, ASMString kind, ASMString params) static ASMInteger
lastIndexOf
(StackFrame frame, ASMString self, ASMString o) static ASMBoolean
operatorEQ
(StackFrame frame, ASMString self, ASMOclAny o) static ASMBoolean
operatorGE
(StackFrame frame, ASMString self, ASMString o) static ASMBoolean
operatorGT
(StackFrame frame, ASMString self, ASMString o) static ASMBoolean
operatorLE
(StackFrame frame, ASMString self, ASMString o) static ASMBoolean
operatorLT
(StackFrame frame, ASMString self, ASMString o) static ASMBoolean
operatorNE
(StackFrame frame, ASMString self, ASMOclAny o) static ASMString
operatorPlus
(StackFrame frame, ASMString self, ASMString o) static void
println
(StackFrame frame, ASMString self) static ASMOclAny
readFrom
(StackFrame frame, ASMString self) static ASMString
regexReplaceAll
(StackFrame frame, ASMString self, ASMString a, ASMString b) static ASMString
replaceAll
(StackFrame frame, ASMString self, ASMString a, ASMString b) static ASMInteger
size
(StackFrame frame, ASMString self) static ASMSequence
split
(StackFrame frame, ASMString self, ASMString a) static ASMBoolean
startsWith
(StackFrame frame, ASMString self, ASMString o) static ASMString
substring
(StackFrame frame, ASMString self, ASMInteger start, ASMInteger end) static ASMBoolean
toBoolean
(StackFrame frame, ASMString self) static ASMString
toCString
(StackFrame frame, ASMString self) static ASMInteger
toInteger
(StackFrame frame, ASMString self) static ASMString
toLower
(StackFrame frame, ASMString self) static ASMReal
toReal
(StackFrame frame, ASMString self) static ASMSequence
toSequence
(StackFrame frame, ASMString self) toString()
static ASMString
toString
(StackFrame frame, ASMString self) static ASMString
toUpper
(StackFrame frame, ASMString self) static ASMString
trim
(StackFrame frame, ASMString self) static ASMBoolean
writeTo
(StackFrame frame, ASMString self, ASMString fileName) static ASMBoolean
writeToWithCharset
(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, unset
Methods 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.
-