Enum kailua_syntax::ast::LocalNameKind
[−]
[src]
pub enum LocalNameKind { User, ImplicitSelf, ImplicitLegacyArg, AssumedToLocal(ScopedId), AssumedToGlobal, }
The category of local names.
Variants
User
Explicitly defined.
ImplicitSelf
Implicitly created from method declarations.
ImplicitLegacyArg
Implicitly created from variadic arguments (Lua 5.0 compatibility).
AssumedToLocal(ScopedId)
Created by --# assume
to a local name with given scoped identifier,
which itself is defined otherwise.
AssumedToGlobal
Created by --# assume
to a global name with the same name.
Trait Implementations
impl Clone for LocalNameKind
[src]
fn clone(&self) -> LocalNameKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for LocalNameKind
[src]
impl PartialEq for LocalNameKind
[src]
fn eq(&self, __arg_0: &LocalNameKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LocalNameKind) -> bool
This method tests for !=
.