All Classes and Interfaces
Class
Description
An abstract actor implementation for message-driven concurrency.
A specialized
HashMap that supports aliasing of keys.Utility class for working with Java annotations on methods, classes, and
parameters.
Represents an asynchronous or deferred computation whose result can be awaited.
Utility class for serializing and deserializing Java objects to and from Base64 strings.
An abstract base class for implementing custom
Highlighter logic
while preserving behavior from an original highlighter.Represents binary operations in the Naftah language.
Provides built-in functions used within the Naftah language for performing various
arithmetic and logical operations with precision and efficiency.
Representation of a builtin function.
A simple thread-safe channel for communicating between threads.
Utility class for converting between ISO date/time objects and
ChronoLocalDate / ChronoLocalDateTime in arbitrary chronologies.Utility class for working with Java
Chronology instances
and their corresponding calendar names.Holds the results of a classpath or module scanning operation.
Utility class for working with Java classes, methods, and their qualified names.
A thread wrapper that ensures a cleanup action is executed
after the thread finishes, regardless of whether it terminates normally
or due to an exception.
Provides built-in functions used within the Naftah language for performing various
arithmetic and logical operations with precision and efficiency.
Utility class for applying binary and unary operations on collections, arrays, and maps.
A composite implementation of
Highlighter that applies multiple highlighters in sequence
and merges their results.Builder class for creating a CompositeHighlighter instance using a fluent interface.
Concurrency-related built-in functions for manipulating threads,
accessing thread information, controlling execution, and managing thread states.
Utility class for displaying a console-based loading spinner animation.
A utility class containing constant values used across the Naftah date-time parsing library.
Provides arithmetic operations for
NaftahTemporalPoint instances,
including addition and subtraction of years, months, weeks, and days.Utility class for converting numeric day-of-week values to names.
Represents a named declaration in the Naftah scripting language.
DeclaredFunction<T extends org.antlr.v4.runtime.ParserRuleContext>
Represents a function declaration in the Naftah scripting language.
Represents a declared implementation (similar to a class or object blueprint) in the Naftah scripting language.
Represents a parameter declared in a Naftah function.
Represents a variable declared in the Naftah scripting language.
Represents the default execution context used to manage variables, functions, loops,
and class loading information during runtime.
A default visitor implementation for parsing Arabic date and time expressions.
The default implementation of the Naftah language visitor.
A wrapper class for numeric values that supports dynamic typing and
provides utility methods for type checking, conversion, promotion,
and normalization of numbers.
Utility class for localizing exception messages using a resource bundle.
Utility class for exception-related helper methods.
Utility class providing functional-style operations on various input types,
including
Collection, Map, arrays, and single objects.Utility class for hashing strings using various cryptographic algorithms.
An immutable pair consisting of two
Object elements.An immutable triple consisting of three
Object elements.Utility class for reflective invocation of Java methods and constructors,
with support for type conversion and integration with the dynamically typed
programming language
Naftah.Represents a Java type along with its generic type parameters and array component type.
Utility class for initializing Java Util Logging (JUL) configuration.
Represents a Java class
Constructor that can be invoked dynamically.Represents any executable entity in the JVM runtime model, such as a method,
a constructor, or a class initializer (clinit block).
Represents a Java method that can be invoked dynamically.
Represents the type of control signal within a loop construct.
Encapsulates details about a loop signal, including the type of signal,
optional labels for control flow, and an optional result value.
Utility class for converting month names to numeric month values.
A mutable pair consisting of two
Object elements.A mutable triple consisting of three
Object elements.Main entry point of the Naftah programming language.
The base command class for the Naftah CLI, implemented with picocli.
The 'init' subcommand that prepares Java classpath classes for Naftah reuse.
The
'man' subcommand for Naftah.Enum representing all manual subcommands supported in Naftah.
Represents different targets for the manual command.
The 'run' subcommand that interprets a Naftah script.
The 'shell' subcommand that starts the interactive Naftah REPL (Read-Eval-Print Loop).
Enum representing the REPL-specific commands supported in the Naftah interactive shell.
Provides version information for the Naftah command line.
This class represents an error that is thrown when a bug
is recognized inside the runtime.
Represents an immutable Naftah date composed of:
A
NaftahDate.Date component (day, month, year)
An optional NaftahDate.Calendar component
A resolved Temporal representation
Represents an Naftah calendar specification.
Represents the date part of a Naftah date expression.
This class provides an empty implementation of
NaftahDateParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Helper class for parsing Arabic date expressions using ANTLR-generated
lexer and parser classes.
This interface defines a complete generic visitor for a parse tree produced
by
NaftahDateParser.Represents a complete Arabic date-time, consisting of:
An
NaftahDate component
An NaftahTime component
A resolved Temporal representation
Represents a duration expressed in Arabic text, including hours, minutes, seconds, milliseconds, and nanoseconds.
Definition of a duration in Arabic text, including hours, minutes, seconds, milliseconds, and nanoseconds.
Custom error listener for Naftah language parsing errors.
Utility class for logging execution details within the Naftah system.
Annotation to mark a method as a Naftah built-in function.
Annotation to mark a class as a provider of Naftah functions.
Represents a function definition in the Naftah scripting language.
Represents a provider of Naftah functions.
A highlighter implementation that reshapes text for correct display.
A custom log formatter that supports reshaping text for proper visual display
in logging output.
Represents a dynamic "Naftah" object — a flexible wrapper that can encapsulate
either a native Java object or a declarative structure of named fields.
An
OutputStream wrapper that transforms text for proper visual display
when printed to an output stream (e.g., console or file).This class provides an empty implementation of
NaftahParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Helper class for various parsing-related utilities used in the Naftah language parser.
This interface defines a complete generic visitor for a parse tree produced
by
NaftahParser.Extension of ANTLR's ParseTreeProperty to expose
internal annotations map and support copying from
another NaftahParseTreeProperty.
Represents a period expressed in Arabic text, including years, months, and days.
Definition of a period in Arabic text, including years, months, and days.
Represents a combined period and duration expressed in Arabic text.
A custom
StringsCompleter implementation that supports shaping text
for better display in terminals that require right-to-left formatting.Utility class for managing system-wide settings, especially for terminal configuration
and versioning in the Naftah runtime environment.
A sealed marker interface representing any Arabic temporal entity.
Represents a temporal amount with a Naftah textual representation.
Marker interface representing a Naftah temporal point.
Represents an Arabic time expression, optionally including a time zone or offset,
and a resolved
Temporal representation.Represents the time component of an Arabic time expression.
Represents an Arabic time zone or numeric offset.
Represents a singleton instance of a non-numeric value (NaN).
this class represents a singleton value indicating the absence of a value.
A common contract for all tuple-like data structures with a fixed number of
ordered components.
Utility class for dynamically parsing and performing arithmetic operations on
various numeric types.
Utility class for reflective access to object fields and properties.
Utility class providing various helper methods for working with Java objects in the context of the Naftah language
runtime.
Represents a general operation in the Naftah language.
Utility class for detecting the current operating system's properties,
including name, architecture, version, and system family.
A pair consisting of two elements.
Exposes the Naftah release information such as version, build date, and build time.
REPLContext extends
DefaultContext to provide
a managed context environment for REPL (Read-Eval-Print Loop) execution.A utility class providing helper methods and constants used by the REPL (Read-Eval-Print Loop)
in the Naftah programming environment.
Utility class for handling resources such as reading files,
locating the JAR directory, opening streams from URLs,
and loading properties files.
A sealed interface representing the result of a computation that may either succeed (Ok)
or fail (Error).
Represents a failed result containing an error value of type
E.Represents a successful result containing a value of type
T.Runtime Built-in Functions
Utility class to scan and load classes at runtime from the classpath, directories, and JAR files.
Deprecated, for removal: This API element is subject to removal in a future version.
This class is deprecated and marked for removal.
Deprecated.
This class is deprecated and may be removed in future versions.
Utility class providing various methods for handling Arabic text processing,
including text shaping, bidi reordering, transliteration, diacritics removal,
padding for terminal display, and detection of Arabic characters.
Utility class for processing and evaluating string interpolation expressions.
Utility class for performing various operations on
String objects,
including arithmetic, bitwise, and vectorized character-wise operations.An extension of
InheritableThreadLocal that allows:
Specifying a Supplier to provide the initial value.
Optionally defining a Function to copy the value for child threads.
A syntax highlighter class specifically tailored for highlighting
Naftah language source code in a terminal environment.
System Built-in Functions
Represents an asynchronous task that executes within a given
DefaultContext.Provider for built-in temporal functions.
Utility class for creating and manipulating Java
Temporal instances
from Naftah date and time components.A
BiFunction that allows invocation of code that throws a checked
exception.A
Function that allows invocation of code that throws a checked
exception.Provides arithmetic operations for
NaftahTemporalPoint instances,
including addition and subtraction of hours, minutes, seconds, and nanoseconds.A utility class that scans Java class names, splits them into component words,
translates those words from English to Arabic using an external translation API,
and generates a
.properties file containing the transliterations.Represents a function that accepts three arguments and produces a result.
A triple consisting of three elements.
An immutable tuple implementation that implements
List<Object>.A utility class to capture and represent generic type information at runtime.
Represents all unary operations supported by the Naftah language.
Represents the result of a variable lookup operation.
Utility class for handling time zones with support for names.