byToken

Creates a token range from the given source code. Creates a default lexer configuration and a GC-managed string cache.

  1. auto byToken(R range)
    public
    byToken
    (
    R
    )
    ()
    if (
    is(Unqual!(ElementEncodingType!R) : ubyte) &&
    isDynamicArray!R
    )
  2. auto byToken(R range, StringCache* cache)
  3. auto byToken(R range, LexerConfig config, StringCache* cache)

Meta