NL
export interface NL {
isEqual(other: Token): boolean
kind: "newline"
site: Site
toString(preserveWhitespace?: boolean): string
}
NL
is a Token variant that represents a newline character.
Newline characters are used for Automatic Semicolon Insertion.
Instaniate a NL
token with makeNL.
Properties
isEqual
isEqual(other: Token): boolean
kind
kind: "newline"
site
site: Site
toString
toString(preserveWhitespace?: boolean): string