Package it.unive.lisa.imp.constructs
Class StringReplace
- java.lang.Object
-
- it.unive.lisa.program.cfg.NativeCFG
-
- it.unive.lisa.imp.constructs.StringReplace
-
- All Implemented Interfaces:
it.unive.lisa.program.cfg.CodeMember
public class StringReplace extends it.unive.lisa.program.cfg.NativeCFG
The native construct representing the replace operation. This construct can be invoked on a string variablex
withx.replace(search, replacement)
, wheresearch
is the string to replace andreplacement
is the string to use as a replacement.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringReplace.IMPStringReplace
An expression modeling the string replace operation.
-
Constructor Summary
Constructors Constructor Description StringReplace(it.unive.lisa.program.cfg.CodeLocation location, it.unive.lisa.program.ClassUnit stringUnit)
Builds the construct.
-