tinano_generator 0.1.0

  • README.md
  • Installing
  • Versions
  • 53

This library can be included as a dev-dependency, as it does not contain any meaningful features for your app. For more information on this library, go check out the tinano library.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  tinano_generator: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:tinano_generator/generator/builder.dart';
import 'package:tinano_generator/generator/generation_context.dart';
import 'package:tinano_generator/generator/generator.dart';
import 'package:tinano_generator/models/custom_types.dart';
import 'package:tinano_generator/models/database.dart';
import 'package:tinano_generator/models/operation.dart';
import 'package:tinano_generator/parser/build_method_parser.dart';
import 'package:tinano_generator/parser/database_parser.dart';
import 'package:tinano_generator/parser/operation_method_parser.dart';
import 'package:tinano_generator/parser/row_parser.dart';
import 'package:tinano_generator/parser/sql_variable_analyzer.dart';
import 'package:tinano_generator/utils.dart';
import 'package:tinano_generator/utils/type_utils.dart';
import 'package:tinano_generator/writer/database_writer.dart';
import 'package:tinano_generator/writer/operations/operations_writer.dart';
import 'package:tinano_generator/writer/operations/reading_result_transformation.dart';
import 'package:tinano_generator/writer/operations/single_row_transformation_writer.dart';
import 'package:tinano_generator/writer/operations/statement_execution_writer.dart';
import 'package:tinano_generator/writer/operations/variable_binding_writer.dart';
import 'package:tinano_generator/writer/operations/writing_result_transformation.dart';
import 'package:tinano_generator/writer/static_function_writer.dart';
import 'package:tinano_generator/writer/writer.dart';
Version Uploaded Documentation Archive
0.1.1 Oct 14, 2018 Go to the documentation of tinano_generator 0.1.1 Download tinano_generator 0.1.1 archive
0.1.0+1 Oct 14, 2018 Go to the documentation of tinano_generator 0.1.0+1 Download tinano_generator 0.1.0+1 archive
0.1.0 Oct 14, 2018 Go to the documentation of tinano_generator 0.1.0 Download tinano_generator 0.1.0 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on May 8, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.0
  • pana: 0.12.15


Detected platforms: other

Platform components identified in package: build, io, mirrors.

Health suggestions

Fix lib/generator/generator.dart. (-0.50 points)

Analysis of lib/generator/generator.dart reported 1 hint:

line 23 col 33: 'classElements' is deprecated and shouldn't be used.

Format lib/generator/builder.dart.

Run dartfmt to format lib/generator/builder.dart.

Format lib/generator/generation_context.dart.

Run dartfmt to format lib/generator/generation_context.dart.

Fix additional 19 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/models/custom_types.dart (Run dartfmt to format lib/models/custom_types.dart.)
  • lib/models/database.dart (Run dartfmt to format lib/models/database.dart.)
  • lib/models/operation.dart (Run dartfmt to format lib/models/operation.dart.)
  • lib/parser/build_method_parser.dart (Run dartfmt to format lib/parser/build_method_parser.dart.)
  • lib/parser/database_parser.dart (Run dartfmt to format lib/parser/database_parser.dart.)
  • lib/parser/operation_method_parser.dart (Run dartfmt to format lib/parser/operation_method_parser.dart.)
  • lib/parser/row_parser.dart (Run dartfmt to format lib/parser/row_parser.dart.)
  • lib/parser/sql_variable_analyzer.dart (Run dartfmt to format lib/parser/sql_variable_analyzer.dart.)
  • lib/utils.dart (Run dartfmt to format lib/utils.dart.)
  • lib/utils/type_utils.dart (Run dartfmt to format lib/utils/type_utils.dart.)
  • lib/writer/database_writer.dart (Run dartfmt to format lib/writer/database_writer.dart.)
  • lib/writer/operations/operations_writer.dart (Run dartfmt to format lib/writer/operations/operations_writer.dart.)
  • lib/writer/operations/reading_result_transformation.dart (Run dartfmt to format lib/writer/operations/reading_result_transformation.dart.)
  • lib/writer/operations/single_row_transformation_writer.dart (Run dartfmt to format lib/writer/operations/single_row_transformation_writer.dart.)
  • lib/writer/operations/statement_execution_writer.dart (Run dartfmt to format lib/writer/operations/statement_execution_writer.dart.)
  • lib/writer/operations/variable_binding_writer.dart (Run dartfmt to format lib/writer/operations/variable_binding_writer.dart.)
  • lib/writer/operations/writing_result_transformation.dart (Run dartfmt to format lib/writer/operations/writing_result_transformation.dart.)
  • lib/writer/static_function_writer.dart (Run dartfmt to format lib/writer/static_function_writer.dart.)
  • lib/writer/writer.dart (Run dartfmt to format lib/writer/writer.dart.)

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and tinano_generator.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
analyzer ^0.33.0 0.33.6+1 0.36.3
build ^1.0.0 1.1.0 1.1.4
build_config ^0.3.1+3 0.3.2 0.4.0
code_builder ^3.1.3 3.2.0
collection ^1.14.11 1.14.11
meta ^1.1.6 1.1.7
source_gen ^0.9.1+3 0.9.4+1 0.9.4+2
Transitive dependencies
args 1.5.1
async 2.2.0
built_collection 4.2.1
built_value 6.5.0
charcode 1.1.2
convert 2.1.1
crypto 2.0.6
csslib 0.16.0
dart_style 1.2.0 1.2.7
fixnum 0.10.9
front_end 0.1.6+9 0.1.18
glob 1.1.7
html 0.14.0+2
json_annotation 2.2.0
kernel 0.3.6+9 0.3.18
logging 0.11.3+2
matcher 0.12.5
package_config 1.0.5
path 1.6.2
plugin 0.2.0+3
pub_semver 1.4.2
pubspec_parse 0.1.4
quiver 2.0.3
source_span 1.5.5
stack_trace 1.9.3
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+10
yaml 2.1.15
Dev dependencies
test ^1.0.0