chore: Add missing exports for Jenny (#2272)

This ensures that all classes that are documented are actually publicly exported by the package.
This commit is contained in:
Pasha Stetsenko
2023-01-13 18:48:20 -08:00
committed by GitHub
parent 20fe0e6c26
commit ab02823fdb
10 changed files with 8 additions and 9 deletions

View File

@@ -1,10 +1,15 @@
export 'src/command_storage.dart' show CommandStorage;
export 'src/dialogue_runner.dart' show DialogueRunner; export 'src/dialogue_runner.dart' show DialogueRunner;
export 'src/dialogue_view.dart' show DialogueView; export 'src/dialogue_view.dart' show DialogueView;
export 'src/errors.dart' show SyntaxError, NameError, TypeError, DialogueError; export 'src/errors.dart' show SyntaxError, NameError, TypeError, DialogueError;
export 'src/function_storage.dart' show FunctionStorage;
export 'src/localization.dart' show Localization, localizationInfo;
export 'src/structure/commands/user_defined_command.dart'
show UserDefinedCommand;
export 'src/structure/dialogue_choice.dart' show DialogueChoice; export 'src/structure/dialogue_choice.dart' show DialogueChoice;
export 'src/structure/dialogue_line.dart' show DialogueLine; export 'src/structure/dialogue_line.dart' show DialogueLine;
export 'src/structure/dialogue_option.dart' show DialogueOption; export 'src/structure/dialogue_option.dart' show DialogueOption;
export 'src/structure/expressions/expression.dart' show ExpressionType; export 'src/structure/markup_attribute.dart' show MarkupAttribute;
export 'src/structure/node.dart' show Node; export 'src/structure/node.dart' show Node;
export 'src/variable_storage.dart' show VariableStorage; export 'src/variable_storage.dart' show VariableStorage;
export 'src/yarn_project.dart' show YarnProject; export 'src/yarn_project.dart' show YarnProject;

View File

@@ -2,7 +2,6 @@ import 'dart:async';
import 'package:jenny/jenny.dart'; import 'package:jenny/jenny.dart';
import 'package:jenny/src/parse/ascii.dart'; import 'package:jenny/src/parse/ascii.dart';
import 'package:jenny/src/structure/commands/user_defined_command.dart';
import 'package:meta/meta.dart'; import 'package:meta/meta.dart';
/// [CommandStorage] is the repository of user-defined commands known to the /// [CommandStorage] is the repository of user-defined commands known to the

View File

@@ -1,8 +1,6 @@
import 'package:jenny/jenny.dart'; import 'package:jenny/jenny.dart';
import 'package:jenny/src/dialogue_runner.dart';
import 'package:jenny/src/structure/dialogue_entry.dart'; import 'package:jenny/src/structure/dialogue_entry.dart';
import 'package:jenny/src/structure/line_content.dart'; import 'package:jenny/src/structure/line_content.dart';
import 'package:jenny/src/structure/markup_attribute.dart';
/// [DialogueLine] is a single line of "normal" text within the dialogue. /// [DialogueLine] is a single line of "normal" text within the dialogue.
/// ///

View File

@@ -1,7 +1,6 @@
import 'dart:async'; import 'dart:async';
import 'package:jenny/jenny.dart'; import 'package:jenny/jenny.dart';
import 'package:jenny/src/structure/commands/user_defined_command.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';
import 'test_scenario.dart'; import 'test_scenario.dart';

View File

@@ -1,5 +1,4 @@
import 'package:jenny/jenny.dart'; import 'package:jenny/jenny.dart';
import 'package:jenny/src/function_storage.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';
import 'test_scenario.dart'; import 'test_scenario.dart';

View File

@@ -2,6 +2,7 @@ import 'package:jenny/jenny.dart';
import 'package:jenny/src/parse/token.dart'; import 'package:jenny/src/parse/token.dart';
import 'package:jenny/src/parse/tokenize.dart'; import 'package:jenny/src/parse/tokenize.dart';
import 'package:jenny/src/structure/commands/declare_command.dart'; import 'package:jenny/src/structure/commands/declare_command.dart';
import 'package:jenny/src/structure/expressions/expression.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';
import '../../utils.dart'; import '../../utils.dart';

View File

@@ -1,7 +1,6 @@
import 'package:jenny/jenny.dart'; import 'package:jenny/jenny.dart';
import 'package:jenny/src/parse/token.dart'; import 'package:jenny/src/parse/token.dart';
import 'package:jenny/src/parse/tokenize.dart'; import 'package:jenny/src/parse/tokenize.dart';
import 'package:jenny/src/structure/commands/user_defined_command.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';
import '../../test_scenario.dart'; import '../../test_scenario.dart';

View File

@@ -1,6 +1,5 @@
import 'package:jenny/jenny.dart'; import 'package:jenny/jenny.dart';
import 'package:jenny/src/structure/line_content.dart'; import 'package:jenny/src/structure/line_content.dart';
import 'package:jenny/src/structure/markup_attribute.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';
void main() { void main() {

View File

@@ -2,7 +2,6 @@ import 'dart:async';
import 'dart:convert'; import 'dart:convert';
import 'package:jenny/jenny.dart'; import 'package:jenny/jenny.dart';
import 'package:jenny/src/structure/commands/user_defined_command.dart';
import 'package:meta/meta.dart'; import 'package:meta/meta.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';

View File

@@ -1,4 +1,5 @@
import 'package:jenny/jenny.dart'; import 'package:jenny/jenny.dart';
import 'package:jenny/src/structure/expressions/expression.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';
import 'utils.dart'; import 'utils.dart';