Crst::PositionScanner
Inherits Crst::Visitor < Reference < Object
Traverses the AST and assigns line/column info to nodes by finding them in content.
Constructors
new(content : String)
SourceInstance methods
reset(new_content : String | Nil = nil)
Resets internal state so the scanner can be reused on a different document.
scan(doc : Node)
Source