Skip to content

Commit

Permalink
extract common parser library from socket.io-dart packages for Dart 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jumperchen committed Nov 20, 2018
0 parents commit 6a42ece
Show file tree
Hide file tree
Showing 9 changed files with 1,032 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Files and directories created by pub
.dart_tool/
.packages
# Remove the following pattern if you wish to check in your lock file
pubspec.lock

# Conventional directory for build outputs
build/

# Directory created by dartdoc
doc/api/

# JetBrains IDEs
.idea/
*.iml
*.ipr
*.iws
14 changes: 14 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
analyzer:
# exclude:
# - path/to/excluded/files/**

# Lint rules and documentation, see http://dart-lang.github.io/linter/lints
linter:
rules:
- cancel_subscriptions
- hash_and_equals
- iterable_contains_unrelated_type
- list_remove_unrelated_type
- test_types_in_equals
- unrelated_type_equality_checks
- valid_regexps
19 changes: 19 additions & 0 deletions lib/socket_io_common.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* socket_io_common.dart
*
* Purpose:
*
* Description:
*
* History:
* 20/11/2018, Created by jumperchen
*
* Copyright (C) 2018 Potix Corporation. All Rights Reserved.
*/
library socket_io_common;

export 'src/engine/parser/parser.dart';
export 'src/engine/parser/wtf8.dart';
export 'src/parser/binary.dart';
export 'src/parser/parser.dart';

Loading

0 comments on commit 6a42ece

Please sign in to comment.