class

Analyzer::Javascript::SocketIO::FileConsts

Inherits Reference < Object

The string constants of one file and the block each is declared in. A use sees the innermost declaration whose block holds it; a let or var assigned again anywhere in the file is not a constant. Built once per file, in one pass.

Constructors

new(content : String)
Source

Instance methods

value(name : String, at : Int32) : String | Nil

The value name has at byte at, or nil when no constant there.

Source

Nested types