Repository navigation
v0.1.24
-
ASTExpressionFunctionInvocationand related classes:- Added mixin
WithCallChainFunctionto support chained function invocations. - Added field
chainFunctionInvocationto hold chained calls. - Updated function invocation methods to generate chained calls in code generation (
ApolloCodeGenerator). - Updated runtime execution to process chained function calls after the main call.
- Added mixin
-
ApolloCodeGenerator:- Refactored function invocation code to use
_generateChainFunctionInvocationhelper for chained calls.
- Refactored function invocation code to use
-
Dart grammar (
dart_grammar.dart):- Updated
expressionGetterAccessparser to parse and attach chained function invocations.
- Updated
-
CoreClassPrimitive:- Removed
_functionToStringfield and initialization.
- Removed
-
CoreClassString:- Added
_functionToStringexternal class function returningself.toString().
- Added
-
CoreClassInt:- Added
_functionToStringexternal class function returningself.toString().
- Added
-
CoreClassDouble:- Added
_functionToStringexternal class function with custom logic:- If the double is an integer value, returns string with
.0suffix. - Otherwise, returns standard
toString().
- If the double is an integer value, returns string with
- Added