Lexer and its tokens.

This file was generated by SableCC (http://www.sablecc.org/).

Redefined classes

redef class EOF

nitc :: lexer $ EOF

A end of file
redef class Lexer

nitc :: lexer $ Lexer

The lexer extract NIT tokens from an input stream.
redef class TAmp

nitc :: lexer $ TAmp

The operator &
redef class TAmpeq

nitc :: lexer $ TAmpeq

The operator &=
redef class TAssign

nitc :: lexer $ TAssign

The symbol =
redef class TAt

nitc :: lexer $ TAt

The symbol @
redef class TAttrid

nitc :: lexer $ TAttrid

An attribute identifier. They start with an underscore.
redef class TBadChar

nitc :: lexer $ TBadChar

A malformed char
redef class TBadExtern

nitc :: lexer $ TBadExtern

A malformed extern code block
redef class TBadString

nitc :: lexer $ TBadString

A malformed string
redef class TBadTString

nitc :: lexer $ TBadTString

A malformed triple quoted string
redef class TBang

nitc :: lexer $ TBang

The operator !
redef class TCaret

nitc :: lexer $ TCaret

The operator ^
redef class TCareteq

nitc :: lexer $ TCareteq

The operator ^=
redef class TCbra

nitc :: lexer $ TCbra

The symbol ]
redef class TChar

nitc :: lexer $ TChar

A literal character
redef class TClassid

nitc :: lexer $ TClassid

A class (or formal type) identifier. They start with an uppercase.
redef class TColumn

nitc :: lexer $ TColumn

The symbol :
redef class TComma

nitc :: lexer $ TComma

The symbol ,
redef class TComment

nitc :: lexer $ TComment

Token of a line of comments
redef class TCpar

nitc :: lexer $ TCpar

The symbol )
redef class TDot

nitc :: lexer $ TDot

The symbol .
redef class TDotdot

nitc :: lexer $ TDotdot

The symbol ..
redef class TDotdotdot

nitc :: lexer $ TDotdotdot

The symbol ...
redef class TEndString

nitc :: lexer $ TEndString

The final part of a super string (between } and ")
redef class TEol

nitc :: lexer $ TEol

Token of end of line (basically \n)
redef class TEq

nitc :: lexer $ TEq

The operator ==
redef class TExternCodeSegment

nitc :: lexer $ TExternCodeSegment

A extern code block
redef class TFloat

nitc :: lexer $ TFloat

A literal floating point number
redef class TGe

nitc :: lexer $ TGe

The operator >=
redef class TGg

nitc :: lexer $ TGg

The operator >>
redef class TGgeq

nitc :: lexer $ TGgeq

The operator >>=
redef class TGt

nitc :: lexer $ TGt

The operator >
redef class TId

nitc :: lexer $ TId

A standard identifier (variable, method...). They start with a lowercase.
redef class TInteger

nitc :: lexer $ TInteger

A literal integer
redef class TKwabort

nitc :: lexer $ TKwabort

The keyword abort
redef class TKwabstract

nitc :: lexer $ TKwabstract

The keyword abstract
redef class TKwand

nitc :: lexer $ TKwand

The keyword and
redef class TKwas

nitc :: lexer $ TKwas

The keyword as
redef class TKwassert

nitc :: lexer $ TKwassert

The keyword assert
redef class TKwbreak

nitc :: lexer $ TKwbreak

The keyword break
redef class TKwcatch

nitc :: lexer $ TKwcatch

The keyword catch
redef class TKwclass

nitc :: lexer $ TKwclass

The keyword class
redef class TKwcontinue

nitc :: lexer $ TKwcontinue

The keyword continue
redef class TKwdebug

nitc :: lexer $ TKwdebug

The special keyword __DEBUG__
redef class TKwdo

nitc :: lexer $ TKwdo

The keyword do
redef class TKwelse

nitc :: lexer $ TKwelse

The keyword else
redef class TKwend

nitc :: lexer $ TKwend

The keyword end
redef class TKwenum

nitc :: lexer $ TKwenum

The keywords enum and universal
redef class TKwextern

nitc :: lexer $ TKwextern

The keyword extern
redef class TKwfalse

nitc :: lexer $ TKwfalse

The keyword false
redef class TKwfor

nitc :: lexer $ TKwfor

The keyword for
redef class TKwif

nitc :: lexer $ TKwif

The keyword if
redef class TKwimplies

nitc :: lexer $ TKwimplies

The keyword implies
redef class TKwimport

nitc :: lexer $ TKwimport

The keyword import
redef class TKwin

nitc :: lexer $ TKwin

The keyword in
redef class TKwinit

nitc :: lexer $ TKwinit

The keyword init
redef class TKwinterface

nitc :: lexer $ TKwinterface

The keyword interface
redef class TKwintrude

nitc :: lexer $ TKwintrude

The keyword intrude
redef class TKwis

nitc :: lexer $ TKwis

The keyword is
redef class TKwisa

nitc :: lexer $ TKwisa

The keyword isa
redef class TKwisset

nitc :: lexer $ TKwisset

The keyword isset
redef class TKwlabel

nitc :: lexer $ TKwlabel

The keyword label
redef class TKwloop

nitc :: lexer $ TKwloop

The keyword loop
redef class TKwmeth

nitc :: lexer $ TKwmeth

The keyword fun
redef class TKwmodule

nitc :: lexer $ TKwmodule

The keyword module
redef class TKwnew

nitc :: lexer $ TKwnew

The keyword new
redef class TKwnot

nitc :: lexer $ TKwnot

The keyword not
redef class TKwnull

nitc :: lexer $ TKwnull

The keyword null
redef class TKwnullable

nitc :: lexer $ TKwnullable

The keyword nullable
redef class TKwonce

nitc :: lexer $ TKwonce

The keyword once
redef class TKwor

nitc :: lexer $ TKwor

The keyword or
redef class TKwpackage

nitc :: lexer $ TKwpackage

The deprecated keyword package.
redef class TKwprivate

nitc :: lexer $ TKwprivate

The keyword private
redef class TKwprotected

nitc :: lexer $ TKwprotected

The keyword protected
redef class TKwpublic

nitc :: lexer $ TKwpublic

The keyword public
redef class TKwredef

nitc :: lexer $ TKwredef

The keyword redef
redef class TKwreturn

nitc :: lexer $ TKwreturn

The keyword return
redef class TKwself

nitc :: lexer $ TKwself

The keyword self
redef class TKwsubset

nitc :: lexer $ TKwsubset

The keyword subset
redef class TKwsuper

nitc :: lexer $ TKwsuper

The keyword super
redef class TKwthen

nitc :: lexer $ TKwthen

The keyword then
redef class TKwtrue

nitc :: lexer $ TKwtrue

The keyword true
redef class TKwtype

nitc :: lexer $ TKwtype

The keyword type
redef class TKwvar

nitc :: lexer $ TKwvar

The keyword var
redef class TKwwhile

nitc :: lexer $ TKwwhile

The keyword while
redef class TKwwith

nitc :: lexer $ TKwwith

The keyword with
redef class TKwyield

nitc :: lexer $ TKwyield

The keyword yield
redef class TLe

nitc :: lexer $ TLe

The operator <=
redef class TLl

nitc :: lexer $ TLl

The operator <<
redef class TLleq

nitc :: lexer $ TLleq

The operator <<=
redef class TLt

nitc :: lexer $ TLt

The operator <
redef class TMidString

nitc :: lexer $ TMidString

The middle part of a super string (between } and {)
redef class TMinus

nitc :: lexer $ TMinus

The operator -
redef class TMinuseq

nitc :: lexer $ TMinuseq

The operator -=
redef class TNe

nitc :: lexer $ TNe

The operator !=
redef class TObra

nitc :: lexer $ TObra

The symbol [
redef class TOpar

nitc :: lexer $ TOpar

The symbol (
redef class TPercent

nitc :: lexer $ TPercent

The operator %
redef class TPercenteq

nitc :: lexer $ TPercenteq

The operator %=
redef class TPipe

nitc :: lexer $ TPipe

The operator |
redef class TPipeeq

nitc :: lexer $ TPipeeq

The operator |=
redef class TPlus

nitc :: lexer $ TPlus

The operator +
redef class TPluseq

nitc :: lexer $ TPluseq

The operator +=
redef class TQuad

nitc :: lexer $ TQuad

The symbol ::
redef class TQuest

nitc :: lexer $ TQuest

The operator ?
redef class TSemi

nitc :: lexer $ TSemi

The symbol ;
redef class TSlash

nitc :: lexer $ TSlash

The operator /
redef class TSlasheq

nitc :: lexer $ TSlasheq

The operator /=
redef class TStar

nitc :: lexer $ TStar

The operator *
redef class TStareq

nitc :: lexer $ TStareq

The operator *=
redef class TStarship

nitc :: lexer $ TStarship

The operator <=>
redef class TStarstar

nitc :: lexer $ TStarstar

The operator **
redef class TStarstareq

nitc :: lexer $ TStarstareq

The operator **=
redef class TStartString

nitc :: lexer $ TStartString

The starting part of a super string (between " and {)
redef class TString

nitc :: lexer $ TString

A literal string
redef class TTilde

nitc :: lexer $ TTilde

The operator ~

All class definitions

redef class EOF

nitc :: lexer $ EOF

A end of file
redef class Lexer

nitc :: lexer $ Lexer

The lexer extract NIT tokens from an input stream.
redef class TAmp

nitc :: lexer $ TAmp

The operator &
redef class TAmpeq

nitc :: lexer $ TAmpeq

The operator &=
redef class TAssign

nitc :: lexer $ TAssign

The symbol =
redef class TAt

nitc :: lexer $ TAt

The symbol @
redef class TAttrid

nitc :: lexer $ TAttrid

An attribute identifier. They start with an underscore.
redef class TBadChar

nitc :: lexer $ TBadChar

A malformed char
redef class TBadExtern

nitc :: lexer $ TBadExtern

A malformed extern code block
redef class TBadString

nitc :: lexer $ TBadString

A malformed string
redef class TBadTString

nitc :: lexer $ TBadTString

A malformed triple quoted string
redef class TBang

nitc :: lexer $ TBang

The operator !
redef class TCaret

nitc :: lexer $ TCaret

The operator ^
redef class TCareteq

nitc :: lexer $ TCareteq

The operator ^=
redef class TCbra

nitc :: lexer $ TCbra

The symbol ]
redef class TChar

nitc :: lexer $ TChar

A literal character
redef class TClassid

nitc :: lexer $ TClassid

A class (or formal type) identifier. They start with an uppercase.
redef class TColumn

nitc :: lexer $ TColumn

The symbol :
redef class TComma

nitc :: lexer $ TComma

The symbol ,
redef class TComment

nitc :: lexer $ TComment

Token of a line of comments
redef class TCpar

nitc :: lexer $ TCpar

The symbol )
redef class TDot

nitc :: lexer $ TDot

The symbol .
redef class TDotdot

nitc :: lexer $ TDotdot

The symbol ..
redef class TDotdotdot

nitc :: lexer $ TDotdotdot

The symbol ...
redef class TEndString

nitc :: lexer $ TEndString

The final part of a super string (between } and ")
redef class TEol

nitc :: lexer $ TEol

Token of end of line (basically \n)
redef class TEq

nitc :: lexer $ TEq

The operator ==
redef class TExternCodeSegment

nitc :: lexer $ TExternCodeSegment

A extern code block
redef class TFloat

nitc :: lexer $ TFloat

A literal floating point number
redef class TGe

nitc :: lexer $ TGe

The operator >=
redef class TGg

nitc :: lexer $ TGg

The operator >>
redef class TGgeq

nitc :: lexer $ TGgeq

The operator >>=
redef class TGt

nitc :: lexer $ TGt

The operator >
redef class TId

nitc :: lexer $ TId

A standard identifier (variable, method...). They start with a lowercase.
redef class TInteger

nitc :: lexer $ TInteger

A literal integer
redef class TKwabort

nitc :: lexer $ TKwabort

The keyword abort
redef class TKwabstract

nitc :: lexer $ TKwabstract

The keyword abstract
redef class TKwand

nitc :: lexer $ TKwand

The keyword and
redef class TKwas

nitc :: lexer $ TKwas

The keyword as
redef class TKwassert

nitc :: lexer $ TKwassert

The keyword assert
redef class TKwbreak

nitc :: lexer $ TKwbreak

The keyword break
redef class TKwcatch

nitc :: lexer $ TKwcatch

The keyword catch
redef class TKwclass

nitc :: lexer $ TKwclass

The keyword class
redef class TKwcontinue

nitc :: lexer $ TKwcontinue

The keyword continue
redef class TKwdebug

nitc :: lexer $ TKwdebug

The special keyword __DEBUG__
redef class TKwdo

nitc :: lexer $ TKwdo

The keyword do
redef class TKwelse

nitc :: lexer $ TKwelse

The keyword else
redef class TKwend

nitc :: lexer $ TKwend

The keyword end
redef class TKwenum

nitc :: lexer $ TKwenum

The keywords enum and universal
redef class TKwextern

nitc :: lexer $ TKwextern

The keyword extern
redef class TKwfalse

nitc :: lexer $ TKwfalse

The keyword false
redef class TKwfor

nitc :: lexer $ TKwfor

The keyword for
redef class TKwif

nitc :: lexer $ TKwif

The keyword if
redef class TKwimplies

nitc :: lexer $ TKwimplies

The keyword implies
redef class TKwimport

nitc :: lexer $ TKwimport

The keyword import
redef class TKwin

nitc :: lexer $ TKwin

The keyword in
redef class TKwinit

nitc :: lexer $ TKwinit

The keyword init
redef class TKwinterface

nitc :: lexer $ TKwinterface

The keyword interface
redef class TKwintrude

nitc :: lexer $ TKwintrude

The keyword intrude
redef class TKwis

nitc :: lexer $ TKwis

The keyword is
redef class TKwisa

nitc :: lexer $ TKwisa

The keyword isa
redef class TKwisset

nitc :: lexer $ TKwisset

The keyword isset
redef class TKwlabel

nitc :: lexer $ TKwlabel

The keyword label
redef class TKwloop

nitc :: lexer $ TKwloop

The keyword loop
redef class TKwmeth

nitc :: lexer $ TKwmeth

The keyword fun
redef class TKwmodule

nitc :: lexer $ TKwmodule

The keyword module
redef class TKwnew

nitc :: lexer $ TKwnew

The keyword new
redef class TKwnot

nitc :: lexer $ TKwnot

The keyword not
redef class TKwnull

nitc :: lexer $ TKwnull

The keyword null
redef class TKwnullable

nitc :: lexer $ TKwnullable

The keyword nullable
redef class TKwonce

nitc :: lexer $ TKwonce

The keyword once
redef class TKwor

nitc :: lexer $ TKwor

The keyword or
redef class TKwpackage

nitc :: lexer $ TKwpackage

The deprecated keyword package.
redef class TKwprivate

nitc :: lexer $ TKwprivate

The keyword private
redef class TKwprotected

nitc :: lexer $ TKwprotected

The keyword protected
redef class TKwpublic

nitc :: lexer $ TKwpublic

The keyword public
redef class TKwredef

nitc :: lexer $ TKwredef

The keyword redef
redef class TKwreturn

nitc :: lexer $ TKwreturn

The keyword return
redef class TKwself

nitc :: lexer $ TKwself

The keyword self
redef class TKwsubset

nitc :: lexer $ TKwsubset

The keyword subset
redef class TKwsuper

nitc :: lexer $ TKwsuper

The keyword super
redef class TKwthen

nitc :: lexer $ TKwthen

The keyword then
redef class TKwtrue

nitc :: lexer $ TKwtrue

The keyword true
redef class TKwtype

nitc :: lexer $ TKwtype

The keyword type
redef class TKwvar

nitc :: lexer $ TKwvar

The keyword var
redef class TKwwhile

nitc :: lexer $ TKwwhile

The keyword while
redef class TKwwith

nitc :: lexer $ TKwwith

The keyword with
redef class TKwyield

nitc :: lexer $ TKwyield

The keyword yield
redef class TLe

nitc :: lexer $ TLe

The operator <=
redef class TLl

nitc :: lexer $ TLl

The operator <<
redef class TLleq

nitc :: lexer $ TLleq

The operator <<=
redef class TLt

nitc :: lexer $ TLt

The operator <
redef class TMidString

nitc :: lexer $ TMidString

The middle part of a super string (between } and {)
redef class TMinus

nitc :: lexer $ TMinus

The operator -
redef class TMinuseq

nitc :: lexer $ TMinuseq

The operator -=
redef class TNe

nitc :: lexer $ TNe

The operator !=
redef class TObra

nitc :: lexer $ TObra

The symbol [
redef class TOpar

nitc :: lexer $ TOpar

The symbol (
redef class TPercent

nitc :: lexer $ TPercent

The operator %
redef class TPercenteq

nitc :: lexer $ TPercenteq

The operator %=
redef class TPipe

nitc :: lexer $ TPipe

The operator |
redef class TPipeeq

nitc :: lexer $ TPipeeq

The operator |=
redef class TPlus

nitc :: lexer $ TPlus

The operator +
redef class TPluseq

nitc :: lexer $ TPluseq

The operator +=
redef class TQuad

nitc :: lexer $ TQuad

The symbol ::
redef class TQuest

nitc :: lexer $ TQuest

The operator ?
redef class TSemi

nitc :: lexer $ TSemi

The symbol ;
redef class TSlash

nitc :: lexer $ TSlash

The operator /
redef class TSlasheq

nitc :: lexer $ TSlasheq

The operator /=
redef class TStar

nitc :: lexer $ TStar

The operator *
redef class TStareq

nitc :: lexer $ TStareq

The operator *=
redef class TStarship

nitc :: lexer $ TStarship

The operator <=>
redef class TStarstar

nitc :: lexer $ TStarstar

The operator **
redef class TStarstareq

nitc :: lexer $ TStarstareq

The operator **=
redef class TStartString

nitc :: lexer $ TStartString

The starting part of a super string (between " and {)
redef class TString

nitc :: lexer $ TString

A literal string
redef class TTilde

nitc :: lexer $ TTilde

The operator ~
package_diagram nitc::lexer lexer nitc::lexer_work lexer_work nitc::lexer->nitc::lexer_work nitc::parser_nodes parser_nodes nitc::lexer_work->nitc::parser_nodes nitc::tables tables nitc::lexer_work->nitc::tables ...nitc::parser_nodes ... ...nitc::parser_nodes->nitc::parser_nodes ...nitc::tables ... ...nitc::tables->nitc::tables nitc::parser_prod parser_prod nitc::parser_prod->nitc::lexer nitc::parser_work parser_work nitc::parser_work->nitc::parser_prod nitc::parser_work... ... nitc::parser_work...->nitc::parser_work

Ancestors

module abstract_collection

core :: abstract_collection

Abstract collection classes and services.
module abstract_text

core :: abstract_text

Abstract class for manipulation of sequences of characters
module array

core :: array

This module introduces the standard array structure.
module bitset

core :: bitset

Services to handle BitSet
module bytes

core :: bytes

Services for byte streams and arrays
module circular_array

core :: circular_array

Efficient data structure to access both end of the sequence.
module codec_base

core :: codec_base

Base for codecs to use with streams
module codecs

core :: codecs

Group module for all codec-related manipulations
module collection

core :: collection

This module define several collection classes.
module console

console :: console

Defines some ANSI Terminal Control Escape Sequences.
module core

core :: core

Standard classes and methods used by default by Nit programs and libraries.
module environ

core :: environ

Access to the environment variables of the process
module error

core :: error

Standard error-management infrastructure.
module exec

core :: exec

Invocation and management of operating system sub-processes.
module file

core :: file

File manipulations (create, read, write, etc.)
module fixed_ints

core :: fixed_ints

Basic integers of fixed-precision
module fixed_ints_text

core :: fixed_ints_text

Text services to complement fixed_ints
module flat

core :: flat

All the array-based text representations
module gc

core :: gc

Access to the Nit internal garbage collection mechanism
module hash_collection

core :: hash_collection

Introduce HashMap and HashSet.
module iso8859_1

core :: iso8859_1

Codec for ISO8859-1 I/O
module kernel

core :: kernel

Most basic classes and methods.
module list

core :: list

This module handle double linked lists
module location

nitc :: location

Nit source-file and locations in source-file
module math

core :: math

Mathematical operations
module native

core :: native

Native structures for text and bytes
module numeric

core :: numeric

Advanced services for Numeric types
module ordered_tree

ordered_tree :: ordered_tree

Manipulation and presentation of ordered trees.
module parser_nodes

nitc :: parser_nodes

AST nodes of the Nit language
module protocol

core :: protocol

module queue

core :: queue

Queuing data structures and wrappers
module range

core :: range

Module for range of discrete objects.
module re

core :: re

Regular expression support for all services based on Pattern
module ropes

core :: ropes

Tree-based representation of a String.
module sorter

core :: sorter

This module contains classes used to compare things and sorts arrays.
module stream

core :: stream

Input and output streams of characters
module tables

nitc :: tables

Module that interfaces the parsing tables.
module text

core :: text

All the classes and methods related to the manipulation of text entities
module time

core :: time

Management of time and dates
module union_find

core :: union_find

union–find algorithm using an efficient disjoint-set data structure
module utf8

core :: utf8

Codec for UTF-8 I/O

Parents

module lexer_work

nitc :: lexer_work

Internal algorithm and data structures for the Nit lexer

Children

module parser_prod

nitc :: parser_prod

Production AST nodes full definition.

Descendants

module a_star-m

a_star-m

module abstract_compiler

nitc :: abstract_compiler

Abstract compiler
module actors_generation_phase

nitc :: actors_generation_phase

Generate a support module for each module that contain a class annotated with is actor
module actors_injection_phase

nitc :: actors_injection_phase

Injects model for the classes annotated with "is actor" so
module android

nitc :: android

Compile program for the Android platform
module android_annotations

nitc :: android_annotations

Additionnal annotations to gather metadata on Android projects
module annotation

nitc :: annotation

Management and utilities on annotations
module api

nitc :: api

Components required to build a web server about the nit model.
module api_auth

nitc :: api_auth

module api_base

nitc :: api_base

Base classes used by nitweb.
module api_docdown

nitc :: api_docdown

Nitdoc specific Markdown format handling for Nitweb
module api_feedback

nitc :: api_feedback

Feedback related features
module api_light

nitc :: api_light

Highlight and collect messages from a piece of code
module api_model

nitc :: api_model

module app_annotations

nitc :: app_annotations

Annotations to gather metadata on app.nit projects
module ast_metrics

nitc :: ast_metrics

Metrics about the nodes and identifiers in the AST
module astbuilder

nitc :: astbuilder

Instantiation and transformation of semantic nodes in the AST of expressions and statements
module astutil

nitc :: astutil

Additional features on Nit AST
module auto_super_init

nitc :: auto_super_init

Computing of super-constructors that must be implicitly called at the begin of constructors.
module c

nitc :: c

Support for nesting C code within a Nit program using its FFI
module c_compiler_options

nitc :: c_compiler_options

Offers the annotations cflags and ldflags to specify
module catalog

nitc :: catalog

Basic catalog generator for Nit packages
module check_annotation

nitc :: check_annotation

Check that annotation present in the AST are either primitive or user-declared
module code_gen

nitc :: code_gen

Main frontend phases plus code generation phases
module commands_base

nitc :: commands_base

Documentation commands
module commands_catalog

nitc :: commands_catalog

Commands to retrieve Catalog related data
module commands_docdown

nitc :: commands_docdown

Doc down related queries
module commands_graph

nitc :: commands_graph

Graph commands
module commands_http

nitc :: commands_http

Initialize commands from HTTP requests
module commands_model

nitc :: commands_model

Doc commands about a Model or a MEntity
module commands_parser

nitc :: commands_parser

A parser that create DocCommand from a string
module commands_usage

nitc :: commands_usage

Commands about how mentities are used
module compilation

nitc :: compilation

The compilation module of the VirtualMachine
module compiler

nitc :: compiler

Compilation to C
module compiler_ffi

nitc :: compiler_ffi

Full FFI support for the compiler
module compiler_serialization

nitc :: compiler_serialization

Serialization support for the compiler
module contracts

nitc :: contracts

Module to build contract
module cpp

nitc :: cpp

Supports the use of the C++ language through the FFI
module deriving

nitc :: deriving

Injection of automatic method definitions for standard methods, based on the attributes of the classes
module detect_covariance

nitc :: detect_covariance

Detect the static usage of covariance in the code.
module detect_variance_constraints

nitc :: detect_variance_constraints

Collect metrics about detected variances constraints on formal types.
module div_by_zero

nitc :: div_by_zero

Detection of divisions by zero in obvious cases
module dynamic_loading_ffi

nitc :: dynamic_loading_ffi

Execute FFI code by creating and loading shared libraries
module emscripten

nitc :: emscripten

Compile to JavaScript using the Emscripten SDK
module explain_assert

nitc :: explain_assert

Explain failed assert to the console by modifying the AST.
module explain_assert_api

nitc :: explain_assert_api

Explain failed assert to the console (service declaration only)
module extern_classes

nitc :: extern_classes

Manages all extern classes and their associated foreign type.
module extra_java_files

nitc :: extra_java_files

Intro the annotation extra_java_files to compile extra java files
module ffi

nitc :: ffi

Full FFI support, independent of the compiler
module ffi_base

nitc :: ffi_base

Tools and utilities for implement FFI with different languages
module flow

nitc :: flow

Intraprocedural static flow.
module frontend

nitc :: frontend

Collect and orchestration of main frontend phases
module generate_hierarchies

nitc :: generate_hierarchies

Create dot files for various hierarchies of a model.
module global_compiler

nitc :: global_compiler

Global compilation of a Nit program
module glsl_validation

nitc :: glsl_validation

Check shader code within Nit modules using the tool glslangValidator
module header_dependency

nitc :: header_dependency

Tracks which modules has public header code that must be imported
module highlight

nitc :: highlight

Highlighting of Nit AST
module html_commands

nitc :: html_commands

Render commands results as HTML
module html_model

nitc :: html_model

Translate mentities to html blocks.
module htmlight

nitc :: htmlight

Highlighting of Nit AST with HTML
module i18n_phase

nitc :: i18n_phase

Basic support of internationalization through the generation of id-to-string tables
module inheritance_metrics

nitc :: inheritance_metrics

Collect metrics about inheritance usage
module interpreter

nitc :: interpreter

Interpretation of Nit programs
module ios

nitc :: ios

Compile programs for the iOS platform
module java

nitc :: java

FFI support for the Java language
module java_compiler

nitc :: java_compiler

Compile Nit code to Java code
module json_commands

nitc :: json_commands

Translate command results to json
module json_model

nitc :: json_model

Make model entities Serializable.
module light

nitc :: light

Light FFI support for the compiler
module light_c

nitc :: light_c

Support for nesting C code within a Nit program using its FFI
module light_ffi

nitc :: light_ffi

Light FFI support, independent of the compiler
module light_ffi_base

nitc :: light_ffi_base

Tools and utilities for implement FFI with different languages
module light_only

nitc :: light_only

Compiler support for the light FFI only, detects unsupported usage of callbacks
module literal

nitc :: literal

Parsing of literal values in the abstract syntax tree.
module loader

nitc :: loader

Loading of Nit source files
module local_var_init

nitc :: local_var_init

Verify that local variables are initialized before their usage
module mclasses_metrics

nitc :: mclasses_metrics

Collect common metrics about mclasses
module md_commands

nitc :: md_commands

Render commands results as Markdown
module memory_logger

nitc :: memory_logger

Extension to inject memory-tracing instrumentation in code generated by nitc.
module mendel_metrics

nitc :: mendel_metrics

The Mendel model helps to understand class hierarchies.
module metrics

nitc :: metrics

Various statistics about Nit models and programs
module metrics_base

nitc :: metrics_base

Helpers for various statistics tools.
module mixin

nitc :: mixin

Loading and additional module refinements at link-time.
module mmodules_metrics

nitc :: mmodules_metrics

Collect common metrics about modules
module model_collect

nitc :: model_collect

Collect things from the model.
module model_hyperdoc

nitc :: model_hyperdoc

Dump of Nit model into hypertext human-readable format.
module model_index

nitc :: model_index

Search things from the Model
module model_visitor

nitc :: model_visitor

Simple visitor framework for Nit models.
module modelbuilder_base

nitc :: modelbuilder_base

Load nit source files and build the associated model
module modelize

nitc :: modelize

Create a model from nit source files
module modelize_class

nitc :: modelize_class

Analysis and verification of class definitions to instantiate model element
module modelize_property

nitc :: modelize_property

Analysis and verification of property definitions to instantiate model element
module naive_interpreter

nitc :: naive_interpreter

Interpretation of a Nit program directly on the AST
module nit

nitc :: nit

A naive Nit interpreter
module nitc

nitc :: nitc

A Nit compiler
module nitcatalog

nitc :: nitcatalog

Basic catalog generator for Nit packages
module nitdoc

nitc :: nitdoc

Generator of static API documentation for the Nit language
module nith

nitc :: nith

A ligHt Nit compiler
module nitj

nitc :: nitj

Compile Nit into Java code runnable on the Java Virtual Machine.
module nitlight

nitc :: nitlight

Tool that produces highlighting for Nit programs
module nitls

nitc :: nitls

Simple tool to list Nit source files
module nitmetrics

nitc :: nitmetrics

A program that collects various metrics on nit programs and libraries
module nitni

nitc :: nitni

Native interface related services (used underneath the FFI)
module nitni_base

nitc :: nitni_base

Native interface related services (used underneath the FFI)
module nitni_callbacks

nitc :: nitni_callbacks

nitni services related to callbacks (used underneath the FFI)
module nitpackage

nitc :: nitpackage

Helpful features about packages
module nitpick

nitc :: nitpick

A program that collect potential style and code issues
module nitpretty

nitc :: nitpretty

module nitrestful

nitc :: nitrestful

Tool generating boilerplate code linking RESTful actions to Nit methods
module nitsaf

nitc :: nitsaf

Nit Static Analysis Framework client example.
module nitserial

nitc :: nitserial

Serialization support compiler, a tool to support deserialization of live generic types
module nitsmells

nitc :: nitsmells

module nituml

nitc :: nituml

UML generator in dot format.
module nitunit

nitc :: nitunit

Testing tool.
module nitvm

nitc :: nitvm

The Nit virtual machine launcher
module nitweb

nitc :: nitweb

Runs a webserver based on nitcorn that render things from model.
module nitx

nitc :: nitx

nitx, a command tool that displays useful data about Nit code
module no_warning

nitc :: no_warning

Fill toolcontext information about blacklisting of warnings.
module nullables_metrics

nitc :: nullables_metrics

Statistics about the usage of nullables
module objc

nitc :: objc

FFI support for Objective-C
module on_demand_compiler

nitc :: on_demand_compiler

Compiles extern code within a module to a static library, as needed
module parallelization_phase

nitc :: parallelization_phase

Phase generating threads for functions annotated with threaded annotation
module parse_annotations

nitc :: parse_annotations

Simple annotation parsing
module parser

nitc :: parser

Parser.
module parser_util

nitc :: parser_util

Utils and tools related to parsers and AST
module parser_work

nitc :: parser_work

Internal algorithm and data structures for the Nit parser
module phase

nitc :: phase

Phases of the processing of nit programs
module pkgconfig

nitc :: pkgconfig

Offers the PkgconfigPhase to use the external program "pkg-config" in order
module platform

nitc :: platform

Platform system, used to customize the behavior of the compiler.
module poset_metrics

nitc :: poset_metrics

Metrics about the various posets of the model of a Nit program
module pretty

nitc :: pretty

Library used to pretty print Nit code.
module rapid_type_analysis

nitc :: rapid_type_analysis

Rapid type analysis on the AST
module readme_metrics

nitc :: readme_metrics

Collect common metrics about README files
module refinement_metrics

nitc :: refinement_metrics

Collect metrics about refinement usage
module regex_phase

nitc :: regex_phase

Check for error in regular expressions from string literals
module rta_metrics

nitc :: rta_metrics

Metrics from RTA
module saf

nitc :: saf

Nit Static Analysis Framework.
module saf_base

nitc :: saf_base

Static Analysis Framework base
module scope

nitc :: scope

Identification and scoping of local variables and labels.
module self_metrics

nitc :: self_metrics

Metrics about the usage of explicit and implicit self
module semantize

nitc :: semantize

Process bodies of methods in regard with the model.
module separate_compiler

nitc :: separate_compiler

Separate compilation of a Nit program
module separate_erasure_compiler

nitc :: separate_erasure_compiler

Separate compilation of a Nit program with generic type erasure
module serialization_code_gen_phase

nitc :: serialization_code_gen_phase

Phase generating methods (code) to serialize Nit objects
module serialization_model_phase

nitc :: serialization_model_phase

Phase generating methods (model-only) to serialize Nit objects
module simple_misc_analysis

nitc :: simple_misc_analysis

Simple vavious processing on a AST
module ssa

nitc :: ssa

Single-Static Assignment algorithm from an AST
module static

nitc :: static

Nitdoc generation framework
module static_base

nitc :: static_base

Base entities shared by all the nitdoc code
module static_cards

nitc :: static_cards

Cards templates for the static documentation
module static_html

nitc :: static_html

Render documentation pages as HTML
module static_index

nitc :: static_index

Manage indexing of Nit model for Nitdoc QuickSearch.
module static_structure

nitc :: static_structure

Composes the pages of the static documentation
module static_types_metrics

nitc :: static_types_metrics

Metrics on the usage of explicit static types.
module tables_metrics

nitc :: tables_metrics

Metrics on table generation
module term

nitc :: term

module term_model

nitc :: term_model

Markdown templates for Nit model MEntities.
module test_astbuilder

nitc :: test_astbuilder

Program used to test the clone method of the astbuilder tool
module test_highlight

nitc :: test_highlight

Program used to test the Nit highlighter
module test_model_visitor

nitc :: test_model_visitor

Example of model_visitor
module test_neo

nitc :: test_neo

Test for neo model saving and loading.
module test_parser

nitc :: test_parser

Program used to test the NIT parser
module test_phase

nitc :: test_phase

Stub for loading a runing phases on a bunch of modules
module test_test_phase

nitc :: test_test_phase

Example of simple module that aims to do some specific work on nit programs.
module testing

nitc :: testing

Test unit generation and execution for Nit.
module testing_base

nitc :: testing_base

Base options for testing tools.
module testing_doc

nitc :: testing_doc

Testing from code comments.
module testing_gen

nitc :: testing_gen

Test Suites generation.
module testing_suite

nitc :: testing_suite

Testing from external files.
module transform

nitc :: transform

Thansformations that simplify the AST of expressions
module typing

nitc :: typing

Intraprocedural resolution of static types and OO-services
module uml

nitc :: uml

Group head module for UML generation services
module uml_base

nitc :: uml_base

Exposes the base class for UML generation of a Model
module uml_class

nitc :: uml_class

Provides facilities of exporting a Model to a UML class diagram
module uml_module

nitc :: uml_module

Services for generation of a UML package diagram based on a Model
module variables_numbering

nitc :: variables_numbering

Handle all numbering operations related to local variables in the Nit virtual machine
module vim_autocomplete

nitc :: vim_autocomplete

Generate files used by the Vim plugin to autocomplete with doc
module virtual_machine

nitc :: virtual_machine

Implementation of the Nit virtual machine
module vm

nitc :: vm

Entry point of all vm components
module vm_optimizations

nitc :: vm_optimizations

Optimization of the nitvm
module xcode_templates

nitc :: xcode_templates

Templates and other services to create XCode projects
# Lexer and its tokens.
# This file was generated by SableCC (http://www.sablecc.org/).
module lexer is generated, no_warning("missing-doc")

intrude import parser_nodes
intrude import lexer_work
private import tables

redef class TEol
    redef fun parser_index: Int
    do
	return 0
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TComment
    redef fun parser_index: Int
    do
	return 1
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwpackage
    redef fun parser_index: Int
    do
	return 2
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwmodule
    redef fun parser_index: Int
    do
	return 3
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwimport
    redef fun parser_index: Int
    do
	return 4
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwclass
    redef fun parser_index: Int
    do
	return 5
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwabstract
    redef fun parser_index: Int
    do
	return 6
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwinterface
    redef fun parser_index: Int
    do
	return 7
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwenum
    redef fun parser_index: Int
    do
	return 8
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwsubset
    redef fun parser_index: Int
    do
	return 9
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwend
    redef fun parser_index: Int
    do
	return 10
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwmeth
    redef fun parser_index: Int
    do
	return 11
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwtype
    redef fun parser_index: Int
    do
	return 12
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwinit
    redef fun parser_index: Int
    do
	return 13
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwredef
    redef fun parser_index: Int
    do
	return 14
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwis
    redef fun parser_index: Int
    do
	return 15
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwdo
    redef fun parser_index: Int
    do
	return 16
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwvar
    redef fun parser_index: Int
    do
	return 17
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwextern
    redef fun parser_index: Int
    do
	return 18
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwpublic
    redef fun parser_index: Int
    do
	return 19
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwprotected
    redef fun parser_index: Int
    do
	return 20
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwprivate
    redef fun parser_index: Int
    do
	return 21
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwintrude
    redef fun parser_index: Int
    do
	return 22
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwif
    redef fun parser_index: Int
    do
	return 23
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwthen
    redef fun parser_index: Int
    do
	return 24
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwelse
    redef fun parser_index: Int
    do
	return 25
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwwhile
    redef fun parser_index: Int
    do
	return 26
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwloop
    redef fun parser_index: Int
    do
	return 27
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwfor
    redef fun parser_index: Int
    do
	return 28
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwin
    redef fun parser_index: Int
    do
	return 29
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwand
    redef fun parser_index: Int
    do
	return 30
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwor
    redef fun parser_index: Int
    do
	return 31
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwnot
    redef fun parser_index: Int
    do
	return 32
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwimplies
    redef fun parser_index: Int
    do
	return 33
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwreturn
    redef fun parser_index: Int
    do
	return 34
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwcontinue
    redef fun parser_index: Int
    do
	return 35
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwbreak
    redef fun parser_index: Int
    do
	return 36
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwabort
    redef fun parser_index: Int
    do
	return 37
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwassert
    redef fun parser_index: Int
    do
	return 38
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwnew
    redef fun parser_index: Int
    do
	return 39
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwisa
    redef fun parser_index: Int
    do
	return 40
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwonce
    redef fun parser_index: Int
    do
	return 41
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwsuper
    redef fun parser_index: Int
    do
	return 42
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwself
    redef fun parser_index: Int
    do
	return 43
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwtrue
    redef fun parser_index: Int
    do
	return 44
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwfalse
    redef fun parser_index: Int
    do
	return 45
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwnull
    redef fun parser_index: Int
    do
	return 46
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwas
    redef fun parser_index: Int
    do
	return 47
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwnullable
    redef fun parser_index: Int
    do
	return 48
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwisset
    redef fun parser_index: Int
    do
	return 49
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwlabel
    redef fun parser_index: Int
    do
	return 50
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwwith
    redef fun parser_index: Int
    do
	return 51
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwdebug
    redef fun parser_index: Int
    do
	return 52
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwyield
    redef fun parser_index: Int
    do
	return 53
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TKwcatch
    redef fun parser_index: Int
    do
	return 54
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TOpar
    redef fun parser_index: Int
    do
	return 55
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TCpar
    redef fun parser_index: Int
    do
	return 56
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TObra
    redef fun parser_index: Int
    do
	return 57
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TCbra
    redef fun parser_index: Int
    do
	return 58
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TComma
    redef fun parser_index: Int
    do
	return 59
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TColumn
    redef fun parser_index: Int
    do
	return 60
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TQuad
    redef fun parser_index: Int
    do
	return 61
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TAssign
    redef fun parser_index: Int
    do
	return 62
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TPluseq
    redef fun parser_index: Int
    do
	return 63
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TMinuseq
    redef fun parser_index: Int
    do
	return 64
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TStareq
    redef fun parser_index: Int
    do
	return 65
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TSlasheq
    redef fun parser_index: Int
    do
	return 66
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TPercenteq
    redef fun parser_index: Int
    do
	return 67
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TStarstareq
    redef fun parser_index: Int
    do
	return 68
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TPipeeq
    redef fun parser_index: Int
    do
	return 69
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TCareteq
    redef fun parser_index: Int
    do
	return 70
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TAmpeq
    redef fun parser_index: Int
    do
	return 71
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TLleq
    redef fun parser_index: Int
    do
	return 72
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TGgeq
    redef fun parser_index: Int
    do
	return 73
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TDotdotdot
    redef fun parser_index: Int
    do
	return 74
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TDotdot
    redef fun parser_index: Int
    do
	return 75
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TDot
    redef fun parser_index: Int
    do
	return 76
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TPlus
    redef fun parser_index: Int
    do
	return 77
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TMinus
    redef fun parser_index: Int
    do
	return 78
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TStar
    redef fun parser_index: Int
    do
	return 79
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TStarstar
    redef fun parser_index: Int
    do
	return 80
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TSlash
    redef fun parser_index: Int
    do
	return 81
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TPercent
    redef fun parser_index: Int
    do
	return 82
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TPipe
    redef fun parser_index: Int
    do
	return 83
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TCaret
    redef fun parser_index: Int
    do
	return 84
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TAmp
    redef fun parser_index: Int
    do
	return 85
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TTilde
    redef fun parser_index: Int
    do
	return 86
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TEq
    redef fun parser_index: Int
    do
	return 87
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TNe
    redef fun parser_index: Int
    do
	return 88
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TLt
    redef fun parser_index: Int
    do
	return 89
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TLe
    redef fun parser_index: Int
    do
	return 90
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TLl
    redef fun parser_index: Int
    do
	return 91
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TGt
    redef fun parser_index: Int
    do
	return 92
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TGe
    redef fun parser_index: Int
    do
	return 93
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TGg
    redef fun parser_index: Int
    do
	return 94
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TStarship
    redef fun parser_index: Int
    do
	return 95
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TBang
    redef fun parser_index: Int
    do
	return 96
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TQuest
    redef fun parser_index: Int
    do
	return 97
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TAt
    redef fun parser_index: Int
    do
	return 98
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TSemi
    redef fun parser_index: Int
    do
	return 99
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TClassid
    redef fun parser_index: Int
    do
	return 100
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TId
    redef fun parser_index: Int
    do
	return 101
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TAttrid
    redef fun parser_index: Int
    do
	return 102
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TInteger
    redef fun parser_index: Int
    do
	return 103
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TFloat
    redef fun parser_index: Int
    do
	return 104
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TString
    redef fun parser_index: Int
    do
	return 105
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TStartString
    redef fun parser_index: Int
    do
	return 106
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TMidString
    redef fun parser_index: Int
    do
	return 107
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TEndString
    redef fun parser_index: Int
    do
	return 108
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TChar
    redef fun parser_index: Int
    do
	return 109
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TBadString
    redef fun parser_index: Int
    do
	return 110
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TBadTString
    redef fun parser_index: Int
    do
	return 111
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TBadChar
    redef fun parser_index: Int
    do
	return 112
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TExternCodeSegment
    redef fun parser_index: Int
    do
	return 113
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end

redef class TBadExtern
    redef fun parser_index: Int
    do
	return 114
    end

    init init_tk(loc: Location)
    do
		_location = loc
    end
end


redef class EOF
    redef fun parser_index: Int
    do
	return 115
    end
end

redef class Lexer
	redef fun make_token(accept_token, location)
	do
		if accept_token == 1 then
			return new TEol.init_tk(location)
		end
		if accept_token == 2 then
			return new TComment.init_tk(location)
		end
		if accept_token == 3 then
			return new TKwpackage.init_tk(location)
		end
		if accept_token == 4 then
			return new TKwmodule.init_tk(location)
		end
		if accept_token == 5 then
			return new TKwimport.init_tk(location)
		end
		if accept_token == 6 then
			return new TKwclass.init_tk(location)
		end
		if accept_token == 7 then
			return new TKwabstract.init_tk(location)
		end
		if accept_token == 8 then
			return new TKwinterface.init_tk(location)
		end
		if accept_token == 9 then
			return new TKwenum.init_tk(location)
		end
		if accept_token == 10 then
			return new TKwsubset.init_tk(location)
		end
		if accept_token == 11 then
			return new TKwend.init_tk(location)
		end
		if accept_token == 12 then
			return new TKwmeth.init_tk(location)
		end
		if accept_token == 13 then
			return new TKwtype.init_tk(location)
		end
		if accept_token == 14 then
			return new TKwinit.init_tk(location)
		end
		if accept_token == 15 then
			return new TKwredef.init_tk(location)
		end
		if accept_token == 16 then
			return new TKwis.init_tk(location)
		end
		if accept_token == 17 then
			return new TKwdo.init_tk(location)
		end
		if accept_token == 18 then
			return new TKwvar.init_tk(location)
		end
		if accept_token == 19 then
			return new TKwextern.init_tk(location)
		end
		if accept_token == 20 then
			return new TKwpublic.init_tk(location)
		end
		if accept_token == 21 then
			return new TKwprotected.init_tk(location)
		end
		if accept_token == 22 then
			return new TKwprivate.init_tk(location)
		end
		if accept_token == 23 then
			return new TKwintrude.init_tk(location)
		end
		if accept_token == 24 then
			return new TKwif.init_tk(location)
		end
		if accept_token == 25 then
			return new TKwthen.init_tk(location)
		end
		if accept_token == 26 then
			return new TKwelse.init_tk(location)
		end
		if accept_token == 27 then
			return new TKwwhile.init_tk(location)
		end
		if accept_token == 28 then
			return new TKwloop.init_tk(location)
		end
		if accept_token == 29 then
			return new TKwfor.init_tk(location)
		end
		if accept_token == 30 then
			return new TKwin.init_tk(location)
		end
		if accept_token == 31 then
			return new TKwand.init_tk(location)
		end
		if accept_token == 32 then
			return new TKwor.init_tk(location)
		end
		if accept_token == 33 then
			return new TKwnot.init_tk(location)
		end
		if accept_token == 34 then
			return new TKwimplies.init_tk(location)
		end
		if accept_token == 35 then
			return new TKwreturn.init_tk(location)
		end
		if accept_token == 36 then
			return new TKwcontinue.init_tk(location)
		end
		if accept_token == 37 then
			return new TKwbreak.init_tk(location)
		end
		if accept_token == 38 then
			return new TKwabort.init_tk(location)
		end
		if accept_token == 39 then
			return new TKwassert.init_tk(location)
		end
		if accept_token == 40 then
			return new TKwnew.init_tk(location)
		end
		if accept_token == 41 then
			return new TKwisa.init_tk(location)
		end
		if accept_token == 42 then
			return new TKwonce.init_tk(location)
		end
		if accept_token == 43 then
			return new TKwsuper.init_tk(location)
		end
		if accept_token == 44 then
			return new TKwself.init_tk(location)
		end
		if accept_token == 45 then
			return new TKwtrue.init_tk(location)
		end
		if accept_token == 46 then
			return new TKwfalse.init_tk(location)
		end
		if accept_token == 47 then
			return new TKwnull.init_tk(location)
		end
		if accept_token == 48 then
			return new TKwas.init_tk(location)
		end
		if accept_token == 49 then
			return new TKwnullable.init_tk(location)
		end
		if accept_token == 50 then
			return new TKwisset.init_tk(location)
		end
		if accept_token == 51 then
			return new TKwlabel.init_tk(location)
		end
		if accept_token == 52 then
			return new TKwwith.init_tk(location)
		end
		if accept_token == 53 then
			return new TKwdebug.init_tk(location)
		end
		if accept_token == 54 then
			return new TKwyield.init_tk(location)
		end
		if accept_token == 55 then
			return new TKwcatch.init_tk(location)
		end
		if accept_token == 56 then
			return new TOpar.init_tk(location)
		end
		if accept_token == 57 then
			return new TCpar.init_tk(location)
		end
		if accept_token == 58 then
			return new TObra.init_tk(location)
		end
		if accept_token == 59 then
			return new TCbra.init_tk(location)
		end
		if accept_token == 60 then
			return new TComma.init_tk(location)
		end
		if accept_token == 61 then
			return new TColumn.init_tk(location)
		end
		if accept_token == 62 then
			return new TQuad.init_tk(location)
		end
		if accept_token == 63 then
			return new TAssign.init_tk(location)
		end
		if accept_token == 64 then
			return new TPluseq.init_tk(location)
		end
		if accept_token == 65 then
			return new TMinuseq.init_tk(location)
		end
		if accept_token == 66 then
			return new TStareq.init_tk(location)
		end
		if accept_token == 67 then
			return new TSlasheq.init_tk(location)
		end
		if accept_token == 68 then
			return new TPercenteq.init_tk(location)
		end
		if accept_token == 69 then
			return new TStarstareq.init_tk(location)
		end
		if accept_token == 70 then
			return new TPipeeq.init_tk(location)
		end
		if accept_token == 71 then
			return new TCareteq.init_tk(location)
		end
		if accept_token == 72 then
			return new TAmpeq.init_tk(location)
		end
		if accept_token == 73 then
			return new TLleq.init_tk(location)
		end
		if accept_token == 74 then
			return new TGgeq.init_tk(location)
		end
		if accept_token == 75 then
			return new TDotdotdot.init_tk(location)
		end
		if accept_token == 76 then
			return new TDotdot.init_tk(location)
		end
		if accept_token == 77 then
			return new TDot.init_tk(location)
		end
		if accept_token == 78 then
			return new TPlus.init_tk(location)
		end
		if accept_token == 79 then
			return new TMinus.init_tk(location)
		end
		if accept_token == 80 then
			return new TStar.init_tk(location)
		end
		if accept_token == 81 then
			return new TStarstar.init_tk(location)
		end
		if accept_token == 82 then
			return new TSlash.init_tk(location)
		end
		if accept_token == 83 then
			return new TPercent.init_tk(location)
		end
		if accept_token == 84 then
			return new TPipe.init_tk(location)
		end
		if accept_token == 85 then
			return new TCaret.init_tk(location)
		end
		if accept_token == 86 then
			return new TAmp.init_tk(location)
		end
		if accept_token == 87 then
			return new TTilde.init_tk(location)
		end
		if accept_token == 88 then
			return new TEq.init_tk(location)
		end
		if accept_token == 89 then
			return new TNe.init_tk(location)
		end
		if accept_token == 90 then
			return new TLt.init_tk(location)
		end
		if accept_token == 91 then
			return new TLe.init_tk(location)
		end
		if accept_token == 92 then
			return new TLl.init_tk(location)
		end
		if accept_token == 93 then
			return new TGt.init_tk(location)
		end
		if accept_token == 94 then
			return new TGe.init_tk(location)
		end
		if accept_token == 95 then
			return new TGg.init_tk(location)
		end
		if accept_token == 96 then
			return new TStarship.init_tk(location)
		end
		if accept_token == 97 then
			return new TBang.init_tk(location)
		end
		if accept_token == 98 then
			return new TQuest.init_tk(location)
		end
		if accept_token == 99 then
			return new TAt.init_tk(location)
		end
		if accept_token == 100 then
			return new TSemi.init_tk(location)
		end
		if accept_token == 101 then
			return new TClassid.init_tk(location)
		end
		if accept_token == 102 then
			return new TId.init_tk(location)
		end
		if accept_token == 103 then
			return new TAttrid.init_tk(location)
		end
		if accept_token == 104 then
			return new TInteger.init_tk(location)
		end
		if accept_token == 105 then
			return new TFloat.init_tk(location)
		end
		if accept_token == 106 then
			return new TString.init_tk(location)
		end
		if accept_token == 107 then
			return new TStartString.init_tk(location)
		end
		if accept_token == 108 then
			return new TMidString.init_tk(location)
		end
		if accept_token == 109 then
			return new TEndString.init_tk(location)
		end
		if accept_token == 110 then
			return new TChar.init_tk(location)
		end
		if accept_token == 111 then
			return new TBadString.init_tk(location)
		end
		if accept_token == 112 then
			return new TBadTString.init_tk(location)
		end
		if accept_token == 113 then
			return new TBadChar.init_tk(location)
		end
		if accept_token == 114 then
			return new TExternCodeSegment.init_tk(location)
		end
		if accept_token == 115 then
			return new TBadExtern.init_tk(location)
		end
		abort # unknown token index `accept_token`
	end
end
src/parser/lexer.nit:1,1--1747,3