- Fix: reslove list access with variable key.
- Feat: support map assign with variable key.
- Support Typedef.
- Fixed an problem when map key is a variable.
- Fixed an problem when there Model name is model.
- Fixed an problem when there is a "*/" string in the annotaion.
- Fixed the problem of resolve multi conditions AST.
- Fixed the problem of accessing map or array with object's properties.
- Fix duplicate class names..
- Support
exec
mode.
- Converting
Model
toarray
in a compatible way.
- Feature: Supports getting values from "Map&List" with variables.
- Using a compatible method to get the value from the array.
- Fix output path when moduleDir is
./
or../
- Improved code generation.
- Support the latest features of dara parser.
- Fix the error when the type of
expectedType
is array. - Fix the error of
undefined class
when the file name is a keyword.
- Improve the emit result of type on code comment.
- Fix the wrong emit result in
toMap
method.
- Improve the emit result of autoload script.
- Fix the error when map has model type item.
- Fixed the emit result of
map_access
AST node. - Supported
array_access
AST node
- Supported more data types.
resolveTypeItem
supports float and long data types.
- Fixed the error of require wrong package.
- Supported generate
autoload.php
file. - Optimization of type-related code generation results.
- Optimization of map data type code generation results.
- Supported emit test files.
- Supported catch TeaError
- Optimization emit comment.
- Discard strongly typed types in PHP code.
ast.predefined
is no longer supported.
- Fixed update emitter.config failure.
Initialization release of the
Darabonba Code Generator for PHP
Version 1.0.0 on NPM. See https://www.npmjs.com/package/@darabonba/php-generator for more information.