Package org.eolang.maven.rust
Class Names
- java.lang.Object
-
- org.eolang.maven.rust.Names
-
public final class Names extends Object
The class for storing and assigning names to rust inserts by its location. It loads names base from target and needs to be saved for using in other process.- Since:
- 0.30
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
int
hashCode()
String
name(String loc)
Assign the new name to the function.void
save()
Saves the function to name dispatching table.
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
Prefix for the names.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Names
public Names(Path target)
Ctor.- Parameters:
target
- Directory where to serialize names.
-
-
Method Detail
-
name
public String name(String loc)
Assign the new name to the function.- Parameters:
loc
- Location of the insert.- Returns:
- The name.
-
save
public void save() throws IOException
Saves the function to name dispatching table.- Throws:
IOException
- If any issues with IO.
-
-