Something that can be cloned

This interface introduces the clone method used to duplicate an instance Its specific semantic is left to the subclasses.

Introduced properties

abstract fun clone: SELF

core :: Cloneable :: clone

Duplicate self

Redefined properties

redef type SELF: Cloneable

core $ Cloneable :: SELF

Type of this instance, automatically specialized in every class

All properties

fun !=(other: nullable Object): Bool

core :: Object :: !=

Have self and other different values?
fun ==(other: nullable Object): Bool

core :: Object :: ==

Have self and other the same value?
type CLASS: Class[SELF]

core :: Object :: CLASS

The type of the class of self.
type SELF: Object

core :: Object :: SELF

Type of this instance, automatically specialized in every class
protected fun class_factory(name: String): CLASS

core :: Object :: class_factory

Implementation used by get_class to create the specific class.
fun class_name: String

core :: Object :: class_name

The class name of the object.
abstract fun clone: SELF

core :: Cloneable :: clone

Duplicate self
fun get_class: CLASS

core :: Object :: get_class

The meta-object representing the dynamic type of self.
fun hash: Int

core :: Object :: hash

The hash code of the object.
init init

core :: Object :: init

fun inspect: String

core :: Object :: inspect

Developer readable representation of self.
protected fun inspect_head: String

core :: Object :: inspect_head

Return "CLASSNAME:#OBJECTID".
intern fun is_same_instance(other: nullable Object): Bool

core :: Object :: is_same_instance

Return true if self and other are the same instance (i.e. same identity).
fun is_same_serialized(other: nullable Object): Bool

core :: Object :: is_same_serialized

Is self the same as other in a serialization context?
intern fun is_same_type(other: Object): Bool

core :: Object :: is_same_type

Return true if self and other have the same dynamic type.
private intern fun native_class_name: CString

core :: Object :: native_class_name

The class name of the object in CString format.
intern fun object_id: Int

core :: Object :: object_id

An internal hash code for the object based on its identity.
fun output

core :: Object :: output

Display self on stdout (debug only).
intern fun output_class_name

core :: Object :: output_class_name

Display class name on stdout (debug only).
fun serialization_hash: Int

core :: Object :: serialization_hash

Hash value use for serialization
intern fun sys: Sys

core :: Object :: sys

Return the global sys object, the only instance of the Sys class.
abstract fun to_jvalue(env: JniEnv): JValue

core :: Object :: to_jvalue

fun to_s: String

core :: Object :: to_s

User readable representation of self.
package_diagram core::Cloneable Cloneable core::Object Object core::Cloneable->core::Object core::Cloneable... ... core::Cloneable...->core::Cloneable

Parents

interface Object

core :: Object

The root of the class hierarchy.

Children

abstract class ANode

nitc :: ANode

Root of the AST class-hierarchy
class ANodes[E: ANode]

nitc :: ANodes

A sequence of nodes
class Array[E: nullable Object]

core :: Array

Resizable one dimension array of objects.
class ArrayMap[K: nullable Object, E: nullable Object]

core :: ArrayMap

Associative arrays implemented with an array of (key, value) pairs.
class DisjointSet[E: nullable Object]

core :: DisjointSet

Data structure to keep track of elements partitioned into disjoint subsets
interface FlowSet

nitc :: FlowSet

FlowSet are used to represent data at the entry and exit of a statement.
class Matrix

matrix :: Matrix

A rectangular array of Float
class OrderedTree[E: Object]

ordered_tree :: OrderedTree

Generic structure to manage and display an ordered tree
class POSet[E: nullable Object]

poset :: POSet

Pre-order set graph.
interface Set[E: nullable Object]

core :: Set

Abstract sets.
abstract class Text

core :: Text

High-level abstraction for all text representations

Descendants

class AAbortExpr

nitc :: AAbortExpr

An abort statement
class AAbstractClasskind

nitc :: AAbstractClasskind

An abstract class modifier (abstract class)
class AAmpAssignOp

nitc :: AAmpAssignOp

A &= assignment operation
class AAmpExpr

nitc :: AAmpExpr

A & expression
class AAmpMethid

nitc :: AAmpMethid

A method name &
class AAndExpr

nitc :: AAndExpr

A and expression
class AAnnotation

nitc :: AAnnotation

A single annotation
class AAnnotations

nitc :: AAnnotations

A group of annotation on a node
class AArrayExpr

nitc :: AArrayExpr

A literal array. eg. [x,y,z]
class AAsCastExpr

nitc :: AAsCastExpr

A type cast. eg x.as(T)
class AAsCastForm

nitc :: AAsCastForm

A cast, against a type or not null
class AAsNotNullableExternCall

nitc :: AAsNotNullableExternCall

A single callback declaration on a cast to a non-nullable type
class AAsNotnullExpr

nitc :: AAsNotnullExpr

A as-not-null cast. eg x.as(not null)
class AAsNullableExternCall

nitc :: AAsNullableExternCall

A single callback declaration on a cast to a nullable type
class AAssertExpr

nitc :: AAssertExpr

An assert statement
abstract class AAssignFormExpr

nitc :: AAssignFormExpr

Whatever is a simple assignment. eg = something
class AAssignMethid

nitc :: AAssignMethid

A setter method name with a simple identifier (with a =)
abstract class AAssignOp

nitc :: AAssignOp

A complex assignment operator. (+= and -=)
class AAtExpr

nitc :: AAtExpr

A special expression that encapsulate an annotation
abstract class AAtid

nitc :: AAtid

An annotation name
class AAttrAssignExpr

nitc :: AAttrAssignExpr

The assignment of an attribute. eg x._a=y
class AAttrExpr

nitc :: AAttrExpr

The read of an attribute. eg x._a
abstract class AAttrFormExpr

nitc :: AAttrFormExpr

Whatever is a old-style attribute access
class AAttrPropdef

nitc :: AAttrPropdef

A definition of an attribute
class AAttrReassignExpr

nitc :: AAttrReassignExpr

A complex attribute assignment. eg x._a+=y
abstract class ABinBoolExpr

nitc :: ABinBoolExpr

Something that is binary boolean expression
private class ABinOpHelper

nitc :: ABinOpHelper

Used to factorize work on Or, And, Implies and Binop expressions.
abstract class ABinopExpr

nitc :: ABinopExpr

A binary operation on a method
class ABlockExpr

nitc :: ABlockExpr

A sequence of AExpr (usually statements)
abstract class ABoolExpr

nitc :: ABoolExpr

Something that is boolean expression
class ABraAssignExpr

nitc :: ABraAssignExpr

A setter call of the bracket operator. eg x[y,z]=t
class ABraExpr

nitc :: ABraExpr

A call of the brackets operator. eg x[y,z]
class ABraExprs

nitc :: ABraExprs

A list of expressions enclosed in brackets
abstract class ABraFormExpr

nitc :: ABraFormExpr

Whatever looks-like a call of the brackets [] operator.
class ABraMethid

nitc :: ABraMethid

A method name []
class ABraReassignExpr

nitc :: ABraReassignExpr

A complex setter call of the bracket operator. eg x[y,z]+=t
class ABraassignMethid

nitc :: ABraassignMethid

A method name []=
class ABreakExpr

nitc :: ABreakExpr

A break statement.
class ACallAssignExpr

nitc :: ACallAssignExpr

A setter call with a standard method-name and any number of arguments. eg x.m(y)=z. OR just a simple assignment.
class ACallExpr

nitc :: ACallExpr

A call with a standard method-name and any number of arguments. eg x.m(y). OR just a simple id
abstract class ACallFormExpr

nitc :: ACallFormExpr

Whatever looks-like a call with a standard method and any number of arguments.
class ACallReassignExpr

nitc :: ACallReassignExpr

A complex setter call with a standard method-name and any number of arguments. eg x.m(y)+=z. OR just a simple complex assignment.
class ACallrefExpr

nitc :: ACallrefExpr

A reference to a method with a captured receiver. eg. &x.foo or just &foo is self is captured.
class ACaretAssignOp

nitc :: ACaretAssignOp

A ^= assignment operation
class ACaretExpr

nitc :: ACaretExpr

A ^ expression
class ACaretMethid

nitc :: ACaretMethid

A method name ^
class ACastAsExternCall

nitc :: ACastAsExternCall

A single callback declaration on a cast to a given type
abstract class ACastExternCall

nitc :: ACastExternCall

A single callback declaration on a cast
class ACharExpr

nitc :: ACharExpr

A character literal
abstract class AClassdef

nitc :: AClassdef

A class definition
abstract class AClasskind

nitc :: AClasskind

The modifier for the kind of class (abstract, interface, etc.)
class AConcreteClasskind

nitc :: AConcreteClasskind

A default, or concrete class modifier (just class)
class AContinueExpr

nitc :: AContinueExpr

A continue statement
class ACrangeExpr

nitc :: ACrangeExpr

A closed literal range. eg [x..y]
class ADebugTypeExpr

nitc :: ADebugTypeExpr

A special expression to debug types
abstract class ADefinition

nitc :: ADefinition

Abstract class for definition of entities
class ADoExpr

nitc :: ADoExpr

A do statement
class ADoc

nitc :: ADoc

A documentation of a definition
class AEndStringExpr

nitc :: AEndStringExpr

The end of a superstrng. eg }abc"
class AEnumClasskind

nitc :: AEnumClasskind

An enum/universal class modifier (enum class)
class AEqExpr

nitc :: AEqExpr

A == expression
class AEqFormExpr

nitc :: AEqFormExpr

A == or a != expression
class AEqMethid

nitc :: AEqMethid

A method name ==
class AError

nitc :: AError

A mark of an error
abstract class AEscapeExpr

nitc :: AEscapeExpr

A break or a continue
abstract class AExpr

nitc :: AExpr

Expression and statements
abstract class AExprs

nitc :: AExprs

A list of expression separated with commas (arguments for instance)
abstract class AExternCall

nitc :: AExternCall

A single callback declaration
class AExternCalls

nitc :: AExternCalls

Declaration of callbacks for extern methods
class AExternClasskind

nitc :: AExternClasskind

An extern class modifier (extern class)
class AExternCodeBlock

nitc :: AExternCodeBlock

An full extern block
class AFalseExpr

nitc :: AFalseExpr

A false boolean literal constant
class AFloatExpr

nitc :: AFloatExpr

A float literal
class AForExpr

nitc :: AForExpr

A for statement
class AForGroup

nitc :: AForGroup

A collection iterated by a for, its automatic variables and its implicit iterator.
class AFormaldef

nitc :: AFormaldef

The definition of a formal generic parameter type. eg X: Y
class AFullPropExternCall

nitc :: AFullPropExternCall

A single callback declaration on a method on an explicit receiver type.
class AGeExpr

nitc :: AGeExpr

A >= expression
class AGeMethid

nitc :: AGeMethid

A method name >=
class AGgAssignOp

nitc :: AGgAssignOp

A >>= assignment operation
class AGgExpr

nitc :: AGgExpr

A >> expression
class AGgMethid

nitc :: AGgMethid

A method name >>
class AGtExpr

nitc :: AGtExpr

A > expression
class AGtMethid

nitc :: AGtMethid

A method name >
class AIdAtid

nitc :: AIdAtid

An annotation name based on an identifier
class AIdMethid

nitc :: AIdMethid

A method name with a simple identifier
class AIfExpr

nitc :: AIfExpr

A if statement
class AIfexprExpr

nitc :: AIfexprExpr

A if expression (ternary conditional). eg. if true then 1 else 0
class AImplicitSelfExpr

nitc :: AImplicitSelfExpr

When there is no explicit receiver, self is implicit
class AImpliesExpr

nitc :: AImpliesExpr

A implies expression
abstract class AImport

nitc :: AImport

A import clause of a module
class AInLanguage

nitc :: AInLanguage

A language declaration for an extern block
class AInitExpr

nitc :: AInitExpr

A call to the init constructor.
class AInitPropExternCall

nitc :: AInitPropExternCall

A single callback declaration on a method on a constructor
class AIntegerExpr

nitc :: AIntegerExpr

An integer literal
class AInterfaceClasskind

nitc :: AInterfaceClasskind

An interface class modifier (interface)
class AIntrudeVisibility

nitc :: AIntrudeVisibility

An explicit intrude visibility modifier
class AIsaExpr

nitc :: AIsaExpr

A type-ckeck expression. eg x isa T
class AIssetAttrExpr

nitc :: AIssetAttrExpr

A is-set check of old-style attributes. eg isset x._a
class AKwabstractAtid

nitc :: AKwabstractAtid

An annotation name based on the keyword abstract
class AKwexternAtid

nitc :: AKwexternAtid

An annotation name based on the keyword extern
class AKwimportAtid

nitc :: AKwimportAtid

An annotation name based on the keyword import
class ALabel

nitc :: ALabel

A label at the end of a block or in a break/continue statement. eg label x
abstract class ALabelable

nitc :: ALabelable

Something that has a label.
class ALeExpr

nitc :: ALeExpr

A <= expression
class ALeMethid

nitc :: ALeMethid

A method name <=
class ALexerError

nitc :: ALexerError

A lexical error (unexpected character)
class AListExprs

nitc :: AListExprs

A simple list of expressions
class ALlAssignOp

nitc :: ALlAssignOp

A <<= assignment operation
class ALlExpr

nitc :: ALlExpr

A << expression
class ALlMethid

nitc :: ALlMethid

A method name <<
class ALocalPropExternCall

nitc :: ALocalPropExternCall

A single callback declaration on a method on the current receiver
class ALoopExpr

nitc :: ALoopExpr

A loop statement
private class ALoopHelper

nitc :: ALoopHelper

Used to factorize work on loops.
class ALtExpr

nitc :: ALtExpr

A < expression
class ALtMethid

nitc :: ALtMethid

A method name <
class AMainClassdef

nitc :: AMainClassdef

The implicit class definition of the top-level methods
class AMainMethPropdef

nitc :: AMainMethPropdef

The implicit main method
class AManyExpr

nitc :: AManyExpr

A list of expression separated with commas (arguments for instance)
class AMethPropdef

nitc :: AMethPropdef

A definition of all kind of method (including constructors)
abstract class AMethid

nitc :: AMethid

The identifier of a method in a method declaration.
class AMethidExpr

nitc :: AMethidExpr

A special expression that encapsulates a method identifier
class AMidStringExpr

nitc :: AMidStringExpr

The middle of a superstring. eg }abc{
class AMinusAssignOp

nitc :: AMinusAssignOp

A -= assignment operation
class AMinusExpr

nitc :: AMinusExpr

A - expression
class AMinusMethid

nitc :: AMinusMethid

A method name -
class AModule

nitc :: AModule

The main node of a Nit source-file
class AModuleName

nitc :: AModuleName

A possibly fully-qualified module identifier
class AModuledecl

nitc :: AModuledecl

The declaration of the module with the documentation, name, and annotations
class ANamedargExpr

nitc :: ANamedargExpr

An named notation used to pass an expression by name in a parameter
class ANeExpr

nitc :: ANeExpr

A != expression
class ANeMethid

nitc :: ANeMethid

A method name !=
class ANewExpr

nitc :: ANewExpr

An explicit instantiation. eg new T
class ANoImport

nitc :: ANoImport

The special import clause of the kernel module. eg import end
class ANotExpr

nitc :: ANotExpr

A not expression
class ANullExpr

nitc :: ANullExpr

A null literal constant
class AOnceExpr

nitc :: AOnceExpr

A once expression. eg once x
class AOperatorMethid

nitc :: AOperatorMethid

A method name for an operator
class AOrElseExpr

nitc :: AOrElseExpr

A or else expression
class AOrExpr

nitc :: AOrExpr

A or expression
class AOrangeExpr

nitc :: AOrangeExpr

An open literal range. eg [x..y[
class AParExpr

nitc :: AParExpr

A simple parenthesis. eg (x)
class AParExprs

nitc :: AParExprs

A list of expressions enclosed in parentheses
class AParam

nitc :: AParam

A parameter definition in a signature. eg x:X
class AParserError

nitc :: AParserError

A syntactic error (unexpected token)
class APercentAssignOp

nitc :: APercentAssignOp

A %= assignment operation
class APercentExpr

nitc :: APercentExpr

A % expression
class APercentMethid

nitc :: APercentMethid

A method name %
class APipeAssignOp

nitc :: APipeAssignOp

A |= assignment operation
class APipeExpr

nitc :: APipeExpr

A | expression
class APipeMethid

nitc :: APipeMethid

A method name |
class APlaceholderExpr

nitc :: APlaceholderExpr

A placeholder for a AExpr node
class APlusAssignOp

nitc :: APlusAssignOp

A += assignment operation
class APlusExpr

nitc :: APlusExpr

A + expression
class APlusMethid

nitc :: APlusMethid

A method name +
class APrivateVisibility

nitc :: APrivateVisibility

An explicit private visibility modifier
abstract class APropExternCall

nitc :: APropExternCall

A single callback declaration on a method
abstract class APropdef

nitc :: APropdef

The definition of a property
class AProtectedVisibility

nitc :: AProtectedVisibility

An explicit protected visibility modifier
class APublicVisibility

nitc :: APublicVisibility

An implicit or explicit public visibility modifier
class AQclassid

nitc :: AQclassid

A potentially qualified class identifier foo::bar::Baz
class AQid

nitc :: AQid

A potentially qualified simple identifier foo::bar::baz
class AQualified

nitc :: AQualified

A possible full method qualifier.
abstract class ARangeExpr

nitc :: ARangeExpr

A literal range, open or closed
abstract class AReassignFormExpr

nitc :: AReassignFormExpr

Whatever is a combined assignment. eg += something
class AReturnExpr

nitc :: AReturnExpr

A return statement. eg return x
private class ASCIIFlatString

core :: ASCIIFlatString

Special cases of String where all the characters are ASCII-based
class ASTDump

nitc :: ASTDump

A helper class to handle (print) Nit AST as an OrderedTree
class ASafeExpr

nitc :: ASafeExpr

A receiver with a ? suffix used in safe call operator.
class ASelfExpr

nitc :: ASelfExpr

A read of self
abstract class ASendExpr

nitc :: ASendExpr

A polymorphic invocation of a method
abstract class ASendReassignFormExpr

nitc :: ASendReassignFormExpr

A complex setter call (standard or brackets)
class ASignature

nitc :: ASignature

A signature in a method definition. eg (x,y:X,z:Z):T
class ASlashAssignOp

nitc :: ASlashAssignOp

A /= assignment operation
class ASlashExpr

nitc :: ASlashExpr

A / expression
class ASlashMethid

nitc :: ASlashMethid

A method name /
class AStarAssignOp

nitc :: AStarAssignOp

A *= assignment operation
class AStarExpr

nitc :: AStarExpr

A * expression
class AStarMethid

nitc :: AStarMethid

A method name *
class AStarshipExpr

nitc :: AStarshipExpr

A <=> expression
class AStarshipMethid

nitc :: AStarshipMethid

A method name <=>
class AStarstarAssignOp

nitc :: AStarstarAssignOp

A **= assignment operation
class AStarstarExpr

nitc :: AStarstarExpr

A ** expression
class AStarstarMethid

nitc :: AStarstarMethid

A method name **
class AStartStringExpr

nitc :: AStartStringExpr

The start of a superstring. eg "abc{
class AStdClassdef

nitc :: AStdClassdef

A standard class definition with a name, superclasses and properties
class AStdImport

nitc :: AStdImport

A standard import clause. eg import x
class AStringExpr

nitc :: AStringExpr

A simple string. eg. "abc"
abstract class AStringFormExpr

nitc :: AStringFormExpr

A string literal
class ASuperExpr

nitc :: ASuperExpr

A call to super. OR a call of a super-constructor
class ASuperExternCall

nitc :: ASuperExternCall

A single callback declaration on a super call
class ASuperPropdef

nitc :: ASuperPropdef

A super-class. eg super X
class ASuperstringExpr

nitc :: ASuperstringExpr

A superstring literal. eg "a{x}b{y}c"
class ATildeMethid

nitc :: ATildeMethid

A method name ~
class ATopClassdef

nitc :: ATopClassdef

The implicit class definition of the implicit main method
class ATrueExpr

nitc :: ATrueExpr

A true boolean literal constant
class AType

nitc :: AType

A static type. eg nullable X[Y]
class ATypeExpr

nitc :: ATypeExpr

A special expression that encapsulates a static type
class ATypePropdef

nitc :: ATypePropdef

A definition of a virtual type
class AUminusExpr

nitc :: AUminusExpr

A unary minus expression. eg -x
abstract class AUnaryopExpr

nitc :: AUnaryopExpr

A unary operation on a method
class AUplusExpr

nitc :: AUplusExpr

A unary plus expression. eg +x
class AUtildeExpr

nitc :: AUtildeExpr

A unary ~ expression
class AVarAssignExpr

nitc :: AVarAssignExpr

A local variable simple assignment access
class AVarExpr

nitc :: AVarExpr

A local variable read access.
abstract class AVarFormExpr

nitc :: AVarFormExpr

Whatever is an access to a local variable
class AVarReassignExpr

nitc :: AVarReassignExpr

A local variable complex assignment access
class AVarargExpr

nitc :: AVarargExpr

An ellipsis notation used to pass an expression as it, in a vararg parameter
class AVardeclExpr

nitc :: AVardeclExpr

A declaration of a local variable. eg var x: X = y
abstract class AVisibility

nitc :: AVisibility

A visibility modifier
class AWhileExpr

nitc :: AWhileExpr

A while statement
class AWithExpr

nitc :: AWithExpr

A with statement
class AYieldExpr

nitc :: AYieldExpr

A yield statement. eg yield x
class ArrayCmp[E: nullable Comparable]

core :: ArrayCmp

Comparable array for comparable elements.
class ArraySet[E: nullable Object]

core :: ArraySet

A set implemented with an Array.
class AugmentedStringFormExpr

nitc :: AugmentedStringFormExpr

Any kind of string form with augmentations from prefixes or suffixes
class BoxedArray[E: Boxed[Numeric]]

geometry :: BoxedArray

BoxedCollection implemented by an array
abstract class Buffer

core :: Buffer

A mutable sequence of characters.
private class Concat

core :: Concat

Node that represents a concatenation between two String
class ConceptLattice[O: Object, A: Object]

fca :: ConceptLattice

Concept Lattice
class ConcernsTree

nitc :: ConcernsTree

A MEntityTree borned to MConcern.
class ConcurrentArray[E: nullable Object]

pthreads :: ConcurrentArray

A concurrent variant to the standard Array
class DummyArray

dummy_array :: DummyArray

A Set that contains only integers.
class EOF

nitc :: EOF

A end of file
class FlatBuffer

core :: FlatBuffer

Mutable strings of characters.
abstract class FlatString

core :: FlatString

Immutable strings of characters.
abstract class FlatText

core :: FlatText

All kinds of array-based text representations.
class FlowHashMap[K: nullable Object, V: nullable Object]

nitc :: FlowHashMap

A FlowSet based on a HashMap.
class FlowHashSet[E: nullable Object]

nitc :: FlowHashSet

A FlowSet based on a HashSet.
private class GithubArray[E: nullable Object]

github :: GithubArray

Return deserialization as an array of E
class HashSet[E: nullable Object]

core :: HashSet

A Set implemented with a hash table.
class IndexMatches

nitc :: IndexMatches

An array of IndexMatch instances returned by the ModelIndex
class Interfaces

nitcorn :: Interfaces

A list of interfaces with dynamic port listeners
class JsonArray

json :: JsonArray

A JSON array.
class JsonNamespace

nitc :: JsonNamespace

Fullname representation that can be used to build decorated links
class MEntityTree

nitc :: MEntityTree

An OrderedTree bound to MEntity.
class MPackageTree

nitc :: MPackageTree

A simple specialisation of OrderedTree to display packages, groups and modules
class MongoPipeline

mongodb :: MongoPipeline

Mongo pipelines are arrays of aggregation stages
abstract class Prod

nitc :: Prod

Ancestor of all productions
class ProjTree

nitc :: ProjTree

private abstract class Rope

core :: Rope

String using a tree-based representation with leaves as FlatStrings
class SpriteSet

gamnit :: SpriteSet

Set of sprites sorting them into different SpriteContext
class Start

nitc :: Start

The root of the AST
abstract class String

core :: String

Immutable sequence of characters.
class TAmp

nitc :: TAmp

The operator &
class TAmpeq

nitc :: TAmpeq

The operator &=
class TAssign

nitc :: TAssign

The symbol =
class TAt

nitc :: TAt

The symbol @
class TAttrid

nitc :: TAttrid

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

nitc :: TBadChar

A malformed char
class TBadExtern

nitc :: TBadExtern

A malformed extern code block
class TBadString

nitc :: TBadString

A malformed string
class TBadTString

nitc :: TBadTString

A malformed triple quoted string
class TBang

nitc :: TBang

The operator !
class TCaret

nitc :: TCaret

The operator ^
class TCareteq

nitc :: TCareteq

The operator ^=
class TCbra

nitc :: TCbra

The symbol ]
class TChar

nitc :: TChar

A literal character
class TClassid

nitc :: TClassid

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

nitc :: TColumn

The symbol :
class TComma

nitc :: TComma

The symbol ,
class TComment

nitc :: TComment

Token of a line of comments
class TCpar

nitc :: TCpar

The symbol )
class TDot

nitc :: TDot

The symbol .
class TDotdot

nitc :: TDotdot

The symbol ..
class TDotdotdot

nitc :: TDotdotdot

The symbol ...
class TEndString

nitc :: TEndString

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

nitc :: TEol

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

nitc :: TEq

The operator ==
class TExternCodeSegment

nitc :: TExternCodeSegment

A extern code block
class TFloat

nitc :: TFloat

A literal floating point number
class TGe

nitc :: TGe

The operator >=
class TGg

nitc :: TGg

The operator >>
class TGgeq

nitc :: TGgeq

The operator >>=
class TGt

nitc :: TGt

The operator >
class TId

nitc :: TId

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

nitc :: TInteger

A literal integer
class TKwabort

nitc :: TKwabort

The keyword abort
class TKwabstract

nitc :: TKwabstract

The keyword abstract
class TKwand

nitc :: TKwand

The keyword and
class TKwas

nitc :: TKwas

The keyword as
class TKwassert

nitc :: TKwassert

The keyword assert
class TKwbreak

nitc :: TKwbreak

The keyword break
class TKwcatch

nitc :: TKwcatch

The keyword catch
class TKwclass

nitc :: TKwclass

The keyword class
class TKwcontinue

nitc :: TKwcontinue

The keyword continue
class TKwdebug

nitc :: TKwdebug

The special keyword __DEBUG__
class TKwdo

nitc :: TKwdo

The keyword do
class TKwelse

nitc :: TKwelse

The keyword else
class TKwend

nitc :: TKwend

The keyword end
class TKwenum

nitc :: TKwenum

The keywords enum and universal
class TKwextern

nitc :: TKwextern

The keyword extern
class TKwfalse

nitc :: TKwfalse

The keyword false
class TKwfor

nitc :: TKwfor

The keyword for
class TKwif

nitc :: TKwif

The keyword if
class TKwimplies

nitc :: TKwimplies

The keyword implies
class TKwimport

nitc :: TKwimport

The keyword import
class TKwin

nitc :: TKwin

The keyword in
class TKwinit

nitc :: TKwinit

The keyword init
class TKwinterface

nitc :: TKwinterface

The keyword interface
class TKwintrude

nitc :: TKwintrude

The keyword intrude
class TKwis

nitc :: TKwis

The keyword is
class TKwisa

nitc :: TKwisa

The keyword isa
class TKwisset

nitc :: TKwisset

The keyword isset
class TKwlabel

nitc :: TKwlabel

The keyword label
class TKwloop

nitc :: TKwloop

The keyword loop
class TKwmeth

nitc :: TKwmeth

The keyword fun
class TKwmodule

nitc :: TKwmodule

The keyword module
class TKwnew

nitc :: TKwnew

The keyword new
class TKwnot

nitc :: TKwnot

The keyword not
class TKwnull

nitc :: TKwnull

The keyword null
class TKwnullable

nitc :: TKwnullable

The keyword nullable
class TKwonce

nitc :: TKwonce

The keyword once
class TKwor

nitc :: TKwor

The keyword or
class TKwpackage

nitc :: TKwpackage

The deprecated keyword package.
class TKwprivate

nitc :: TKwprivate

The keyword private
class TKwprotected

nitc :: TKwprotected

The keyword protected
class TKwpublic

nitc :: TKwpublic

The keyword public
class TKwredef

nitc :: TKwredef

The keyword redef
class TKwreturn

nitc :: TKwreturn

The keyword return
class TKwself

nitc :: TKwself

The keyword self
class TKwsubset

nitc :: TKwsubset

The keyword subset
class TKwsuper

nitc :: TKwsuper

The keyword super
class TKwthen

nitc :: TKwthen

The keyword then
class TKwtrue

nitc :: TKwtrue

The keyword true
class TKwtype

nitc :: TKwtype

The keyword type
class TKwvar

nitc :: TKwvar

The keyword var
class TKwwhile

nitc :: TKwwhile

The keyword while
class TKwwith

nitc :: TKwwith

The keyword with
class TKwyield

nitc :: TKwyield

The keyword yield
class TLe

nitc :: TLe

The operator <=
class TLl

nitc :: TLl

The operator <<
class TLleq

nitc :: TLleq

The operator <<=
class TLt

nitc :: TLt

The operator <
class TMidString

nitc :: TMidString

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

nitc :: TMinus

The operator -
class TMinuseq

nitc :: TMinuseq

The operator -=
class TNe

nitc :: TNe

The operator !=
class TObra

nitc :: TObra

The symbol [
class TOpar

nitc :: TOpar

The symbol (
class TPercent

nitc :: TPercent

The operator %
class TPercenteq

nitc :: TPercenteq

The operator %=
class TPipe

nitc :: TPipe

The operator |
class TPipeeq

nitc :: TPipeeq

The operator |=
class TPlus

nitc :: TPlus

The operator +
class TPluseq

nitc :: TPluseq

The operator +=
class TQuad

nitc :: TQuad

The symbol ::
class TQuest

nitc :: TQuest

The operator ?
class TSemi

nitc :: TSemi

The symbol ;
class TSlash

nitc :: TSlash

The operator /
class TSlasheq

nitc :: TSlasheq

The operator /=
class TStar

nitc :: TStar

The operator *
class TStareq

nitc :: TStareq

The operator *=
class TStarship

nitc :: TStarship

The operator <=>
class TStarstar

nitc :: TStarstar

The operator **
class TStarstareq

nitc :: TStarstareq

The operator **=
class TStartString

nitc :: TStartString

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

nitc :: TString

A literal string
class TTilde

nitc :: TTilde

The operator ~
class TextureSet

gamnit :: TextureSet

Group of Texture
abstract class Token

nitc :: Token

Ancestor of all tokens
abstract class TokenKeyword

nitc :: TokenKeyword

A token associated with a keyword
abstract class TokenLiteral

nitc :: TokenLiteral

A token of a literal value (string, integer, etc).
abstract class TokenOperator

nitc :: TokenOperator

A token associated with an operator (and other lookalike symbols)
class U16String

core :: U16String

UTF-16 encoded string
private class UnicodeFlatString

core :: UnicodeFlatString

Regular Nit UTF-8 strings
class VirtualHosts

nitcorn :: VirtualHosts

A list of virtual hosts with dynamic port listeners

Class definitions

core $ Cloneable
# Something that can be cloned
#
# This interface introduces the `clone` method used to duplicate an instance
# Its specific semantic is left to the subclasses.
interface Cloneable
	# Duplicate `self`
	#
	# The specific semantic of this method is left to the subclasses;
	# Especially, if (and how) attributes are cloned (depth vs. shallow).
	#
	# As a rule of thumb, the principle of least astonishment should
	# be used to guide the semantic.
	#
	# Note that as the returned clone depends on the semantic,
	# the `==` method, if redefined, should ensure the equality
	# between an object and its clone.
	fun clone: SELF is abstract
end
lib/core/kernel.nit:412,1--429,3