SpecialAtom

enum SpecialAtom : Enum<AtomDescriptor.SpecialAtom>

SpecialAtom enumerates atoms that are known to the virtual machine.

Parameters

atom

The actual A_Atom to be held by this SpecialAtom.

Entries

Link copied to clipboard
DONT_DEBUG_KEY("don't debug", true)

A heritable atom (has HERITABLE_KEY ->trueObject as a property) which, when present in as A_Fiber's heritableFiberGlobals, indicates that the fiber should not be subject to debugging. This is a way to mark fibers launched by the debugger itself, or forked by such a fiber, say for stringification.

Link copied to clipboard
EXPLICIT_SUBCLASSING_KEY("explicit subclassing")

The property key whose presence indicates an atom is for explicit subclassing of object types.

Link copied to clipboard
HERITABLE_KEY("heritability")

The property key that indicates that a fiber global is inheritable by its forked fibers.

Link copied to clipboard
SOCKET_KEY("socket key")

The atom used as a property key under which to store an AsynchronousSocketChannel.

Link copied to clipboard
SERVER_SOCKET_KEY("server socket key")

The atom used as a property key under which to store an AsynchronousServerSocketChannel.

Link copied to clipboard
FILE_KEY("file key")

The atom used as a property key under which to store a FileHandle.

Link copied to clipboard
CLIENT_DATA_GLOBAL_KEY("Compiler client data")

The atom used as a key in a fiber's global map to extract the current ParserState's ParserState.clientDataMap.

Link copied to clipboard
IS_STYLING("is styling")

When this A_Atom occurs as a non-heritable property of an A_Fiber (with trueObject as a property), the fiber is permitted to perform styling operations on tokens and/or phrases.

Link copied to clipboard
RUNNING_LEXER("running lexer", true)

When this A_Atom occurs as a heritable property of an A_Fiber (with the lexer being evaluated as the value), the fiber is permitted to run A_Lexers on a module's source to produce A_Tokens.

Link copied to clipboard
MACRO_BUNDLE_KEY("Macro bundle")

The atom used to identify the entry in a ParserState's ParserState.clientDataMap containing the bundle of the macro send for which the current fiber is computing a replacement phrase.

Link copied to clipboard
STATIC_TOKENS_KEY("Static tokens")

The atom used as a key in a ParserState's ParserState.clientDataMap to accumulate the tuple of tokens that have been parsed so far for the current method/macro site and are mentioned by name in the method name.

Link copied to clipboard
ALL_TOKENS_KEY("All tokens")

The atom used as a key in a ParserState's ParserState.clientDataMap to accumulate the tuple of tokens that have been parsed so far for the current method/macro site.

Link copied to clipboard
COMPILER_SCOPE_STACK_KEY("Compilation scope stack")

The atom used as a key in a ParserState's ParserState.clientDataMap to store a tuple of maps to restore as the blocks that are being parsed are completed.

Link copied to clipboard
COMPILER_SCOPE_MAP_KEY("Compilation scope")

The atom used as a key in a ParserState's ParserState.clientDataMap to store the current map of declarations that are in scope.

Link copied to clipboard

The atom used as a property key to name object types. This property occurs within each atom which occurs as a field type key of the object type. The value is a map from object type to the set of names of that exact type (typically just one). The naming information is set up via ObjectTypeDescriptor.setNameForType, and removed by ObjectTypeDescriptor.removeNameFromType.

Link copied to clipboard
FALSE(sharedForFalse.createInitialized( stringFrom("false").makeShared(), nil, nil, 0))

The atom representing the Avail concept "false".

Link copied to clipboard
TRUE(sharedForTrue.createInitialized( stringFrom("true").makeShared(), nil, nil, 0))

The atom representing the Avail concept "true".

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val atom: A_Atom
Link copied to clipboard
val heritable: Boolean = false
Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int