Package it.unive.lisa.imp.constructs
Class StringSubstring
- java.lang.Object
-
- it.unive.lisa.program.cfg.NativeCFG
-
- it.unive.lisa.imp.constructs.StringSubstring
-
- All Implemented Interfaces:
it.unive.lisa.program.cfg.CodeMember
public class StringSubstring extends it.unive.lisa.program.cfg.NativeCFG
The native construct representing the substring operation. This construct can be invoked on a string variablex
withx.substring(start, end)
, wherestart
is an integer representing the index where the substring starts (inclusive) andend
is an integer representing the index where the substring ends (exclusive).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringSubstring.IMPStringSubstring
An expression modeling the string substring operation.
-
Constructor Summary
Constructors Constructor Description StringSubstring(it.unive.lisa.program.cfg.CodeLocation location, it.unive.lisa.program.ClassUnit stringUnit)
Builds the construct.
-