Enum kailua_syntax::lex::Keyword [] [src]

pub enum Keyword {
    And,
    Break,
    Do,
    Else,
    Elseif,
    End,
    False,
    For,
    Function,
    Goto,
    If,
    In,
    Local,
    Nil,
    Not,
    Or,
    Repeat,
    Return,
    Then,
    True,
    Until,
    While,
    Assume,
    Class,
    Const,
    Global,
    Map,
    Method,
    Module,
    Once,
    Open,
    Static,
    Type,
    Var,
    Vector,
}

A keyword.

This includes Kailua-specific keywords, which are only generated in the meta block (marked as [M] below). Some of them are also only generated after a particular Lua version (marked as [5.x+] below).

Variants

and.

break.

do.

else.

elseif.

end.

false.

for.

function.

goto. [5.2+; a normal identifier in Lua 5.1]

if.

in.

local.

nil.

not.

or.

repeat.

return.

then.

true.

until.

while.

assume. [M]

class. [M]

const. [M]

global. [M]

map. [M]

method. [M]

module. [M]

once. [M]

open. [M]

static. [M]

type. [M]

var. [M]

vector. [M]

Methods

impl Keyword
[src]

Trait Implementations

impl Copy for Keyword
[src]

impl Clone for Keyword
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Keyword
[src]

Formats the value using the given formatter.

impl PartialEq for Keyword
[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 Keyword
[src]

impl Localize for Keyword
[src]