public Position(Spark.Parser.SourceContext sourceContext, int sourceContextLength, int offset, int line, int column, Spark.Parser.PaintLink paintLink) { this.sourceContext = sourceContext; this.sourceContentLength = sourceContextLength; this.offset = offset; this.line = line; this.column = column; this.paintLink = paintLink; }
public Position(Spark.Parser.SourceContext sourceContext) : this(sourceContext, sourceContext.Content.Length, 0, 1, 1, null) { }