LocationAdorner
Annotates every node with ^#<id>[<line>,<col>]# using the positions map
from SourceInfo.
Implements
Section titled “Implements”Adorner
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new LocationAdorner(
positions,lineOffsets):LocationAdorner
Parameters
Section titled “Parameters”positions
Section titled “positions”Record<string, number>
lineOffsets
Section titled “lineOffsets”number[]
Returns
Section titled “Returns”LocationAdorner
Methods
Section titled “Methods”getMetadata()
Section titled “getMetadata()”getMetadata(
expr):string
Parameters
Section titled “Parameters”Expr
Returns
Section titled “Returns”string
Implementation of
Section titled “Implementation of”Adorner.getMetadata