Repository navigation
v0.1.23
-
ASTExpressionVariableEntryAccess:- Replaced
_asyncTrywith_run2to improve element access with proper type casting. - Added generic
_readElement<V>method to read elements with type safety. - Updated
readIndexASTValueandreadKeyASTValueto return typedASTValue<V>.
- Replaced
-
ASTExpressionFunctionInvocationand subclasses:- Added support for chained function invocations via new
chainFunctionInvocationfield. - Updated
runmethods to invoke chained functions sequentially after the initial call. - Added
_callChainFunctionhelper to process chained calls asynchronously. - Added
ASTExpressionChainFunctionInvocationclass representing chained function calls. - Updated
toStringmethods to include chained function calls. - Updated constructors and parsing to support chained function invocations.
- Added support for chained function invocations via new
-
ASTExpressionObjectFunctionInvocation,ASTExpressionObjectEntryFunctionInvocation,ASTExpressionGroupFunctionInvocation:- Updated constructors and
runmethods to support chained function invocations. - Added caching of function class for performance.
- Improved error handling and function resolution with chained calls.
- Updated constructors and
-
lib/src/apollovm_code_generator.dart:- Updated code generator to output chained function invocations in generated code.
-
Grammar updates (
dart_grammar.dart,java11_grammar.dart):- Added parsing rules for chained function invocations (
expressionChainFunctionInvocation). - Updated function invocation parsers to parse and attach chained function calls.
- Added parsing rules for chained function invocations (
-
ASTValue:- Added generic static method
fromValue<V>to convert dynamic values to typedASTValue<V>. - Added
readIndexASTValue<V>andreadKeyASTValue<V>methods returning typedASTValue<V>.
- Added generic static method
-
CoreClassString:- Added new external string functions:
replaceFirst,trimLeft,trimRight,padLeft,padRight,lastIndexOf,codeUnitAt. - Registered new functions in
getFunctionwith case-insensitive support.
- Added new external string functions:
-
ASTClass:- Added
toStringoverride for better debug output.
- Added