language-javascript-0.5.13: Parser for JavaScript

Safe HaskellSafe-Inferred
LanguageHaskell98

Language.JavaScript.Parser.SrcLocation

Synopsis

Documentation

data TokenPosn Source

TokenPosn records the location of a token in the input text. It has three fields: the address (number of characters preceding the token), line number and column of a token within the file. Note: The lexer assumes the usual eight character tab stops.

Constructors

TokenPn !Int !Int !Int