Class LocationHelper

java.lang.Object
org.kink_lang.kink.LocationHelper

public final class LocationHelper extends Object
The helper for location vals.
  • Method Details

    • of

      public LocationVal of(String programName, String programText, int charPos)
      Returns a location.
      Parameters:
      programName - the name of the program.
      programText - the text of the program.
      charPos - the char index of the pos of the loc.
      Returns:
      a location.