crashtest.hxsmith.features
Every module in this package defines and registers features; importing the package loads them all.
Submodules
crashtest.hxsmith.features.abstracts— Abstract types: operator overloading, implicit @:from/@:to casts, array access, @:forward, inline methods.crashtest.hxsmith.features.anon— Anonymous structures: typedefs, object literals, field access, optional fields, structural subtyping.crashtest.hxsmith.features.arrays— Array: literals, comprehensions, higher-order methods, indexed reads and read-modify-write. crashtest.hxsmith.features.branching— if/else, early return, switch on scalars, and switch/if as values.crashtest.hxsmith.features.casts— Dynamic, casts, type checks,untyped,Null<T>and??.crashtest.hxsmith.features.classes— Classes: fields, properties, constructors, statics, inheritance, an interface and virtual dispatch.crashtest.hxsmith.features.closures— Function values: local functions, lambdas, captured and mutated variables, higher-order helpers, bind.crashtest.hxsmith.features.enums— Enums and enum abstracts: construction, pattern matching (guards, or-patterns, nesting), helper functions.crashtest.hxsmith.features.exceptions— try/catch/throw: typed catch clauses, rethrow, helpers that throw, try as an expression, jumps out of try.crashtest.hxsmith.features.functions— Static helper functions (default, optional and rest arguments, bounded recursion) and every call site.crashtest.hxsmith.features.generics— Generic classes and functions:Box<T>,Pair<A, B>,@:genericmonomorphisation, constrained type parameters.crashtest.hxsmith.features.iterators— User iterators: Iterator/Iterable classes, KeyValueIterator, anonymous generators, manual hasNext/next loops.crashtest.hxsmith.features.literals— Constants, and reads of variables already in scope.crashtest.hxsmith.features.loops— Bounded loops: for-range, for-in over arrays, while, do-while, break, continue.crashtest.hxsmith.features.maps— Map<Int, T> and Map<String, T>: literals, get/set/exists/remove,??defaults, sorted-key iteration.crashtest.hxsmith.features.metadata— Metadata and modifiers: inline/extern inline/@:noInline helpers, @:keep, @:analyzer flags, final, inline constants.crashtest.hxsmith.features.operators— Arithmetic, bitwise, comparison, logical and string operators, ternaries, std math.crashtest.hxsmith.features.stdlib— Standard library: Math, Std, haxe.Int64, haxe.io.Bytes, EReg, Lambda.crashtest.hxsmith.features.strings— Strings: interpolation, String methods, StringTools, StringBuf, comparison, iteration, parsing literals.crashtest.hxsmith.features.variables— Locals: declaration, assignment (plain, compound, increment) and printing.