Package org.eolang.ineo.inside
Interface Inside
-
- All Known Implementing Classes:
InsAttribute,InsMethod
public interface InsideInside is what object "method" consists of in terms of inlining optimizations. There are 3 parts: object (name) itself, item - object method or attribute that is used, replacement - component that should replace item after optimization Consider the next example:The target is "method" foo and its "inside" is: object "a", item is object "this-d", the replacement will be "this-a-d". After inlining object "a" into "b" the code will look like:[d] > a cage d > this-d [] > foo this-d.plus 1 > @[a-d] > b cage a-d > this-a-d [] > this-a-foo this-a-d.plus 1 > @ [] > bar this-a-foo.plus 2 > @- Since:
- 0.0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringitem()Item part of the inside.Stringobject()Object part of the inside.Stringreplacement()Replacement part of the inside.
-