OffsetUtils

io.joern.x2cpg.utils.OffsetUtils
object OffsetUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def coordinatesToOffset(lineOffsetTable: Array[Int], startLine: Int, startColumn: Int, endLine: Int, endColumn: Int): (Int, Int)
def getLineOffsetTable(fileContent: Option[String]): Array[Int]