Identifier.this

Construct an identifier from the given name.

  1. this(const(char)* name)
  2. this(const(char)* name, size_t length, int value)
    class Identifier
    nothrow extern (D)
    this
    (
    const(char)* name
    ,
    size_t length
    ,
    int value
    )
  3. this(const(char)[] name, int value)

Parameters

name const(char)*

the identifier name. There must be '\0' at name[length].

length size_t

the length of name, excluding the terminating '\0'

value int

Identifier value (e.g. Id.unitTest) or TOK.identifier

Meta