Enum kailua_syntax::ast::LocalNameKind [] [src]

pub enum LocalNameKind {
    User,
    ImplicitSelf,
    ImplicitLegacyArg,
    AssumedToLocal(ScopedId),
    AssumedToGlobal,
}

The category of local names.

Variants

Explicitly defined.

Implicitly created from method declarations.

Implicitly created from variadic arguments (Lua 5.0 compatibility).

Created by --# assume to a local name with given scoped identifier, which itself is defined otherwise.

Created by --# assume to a global name with the same name.

Trait Implementations

impl Clone for LocalNameKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LocalNameKind
[src]

Formats the value using the given formatter.

impl PartialEq for LocalNameKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for LocalNameKind
[src]