slow_blink 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/slow_blink/ext_schema_parser/common.h +27 -0
- data/ext/slow_blink/ext_schema_parser/extconf.rb +3 -0
- data/ext/slow_blink/ext_schema_parser/lexer.c +2701 -0
- data/ext/slow_blink/ext_schema_parser/lexer.h +486 -0
- data/ext/slow_blink/ext_schema_parser/parser.c +3848 -0
- data/ext/slow_blink/ext_schema_parser/parser.h +110 -0
- data/ext/slow_blink/ext_schema_parser/parser.l +139 -0
- data/ext/slow_blink/ext_schema_parser/parser.y +932 -0
- data/lib/slow_blink/annotatable.rb +46 -0
- data/lib/slow_blink/annotation.rb +38 -0
- data/lib/slow_blink/compact_encoder.rb +97 -0
- data/lib/slow_blink/component_reference.rb +50 -0
- data/lib/slow_blink/definition.rb +57 -0
- data/lib/slow_blink/enumeration.rb +105 -0
- data/lib/slow_blink/error.rb +4 -0
- data/lib/slow_blink/field.rb +82 -0
- data/lib/slow_blink/group.rb +129 -0
- data/lib/slow_blink/incremental_annotation.rb +91 -0
- data/lib/slow_blink/message.rb +43 -0
- data/lib/slow_blink/name_with_id.rb +49 -0
- data/lib/slow_blink/schema.rb +135 -0
- data/lib/slow_blink/sym.rb +54 -0
- data/lib/slow_blink/type.rb +448 -0
- data/lib/slow_blink/version.rb +22 -0
- data/lib/slow_blink.rb +20 -0
- data/rakefile +29 -0
- data/test/integration/capture_stderr.rb +20 -0
- data/test/integration/tc_inputs.rb +57 -0
- metadata +36 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a066eebd8343e1b39f830aca8e55abe9292fca7
|
4
|
+
data.tar.gz: 088028f907b7d90cf50bdcfb2229cc959d9b61f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c955cf6e36a9850c86ae042164c698a33fe34bf2cdadb8a37e94eea8c74f31912fdf3029ba28a7daf67f20bd8a3e375b41d6a353521c3b56b0189b0007ea662f
|
7
|
+
data.tar.gz: a9bc364db8c76454869f3a4b26dd5734612e25d5a36b372c8682a4797102a9544fa1d816e4cc407976af88a60f81e7676be6bda0e01f1053a51b818781591c81
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#ifndef COMMON_H
|
2
|
+
#define COMMON_H
|
3
|
+
|
4
|
+
/* Value type. */
|
5
|
+
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
6
|
+
#include <ruby.h>
|
7
|
+
typedef VALUE YYSTYPE;
|
8
|
+
# define YYSTYPE_IS_TRIVIAL 1
|
9
|
+
# define YYSTYPE_IS_DECLARED 1
|
10
|
+
#endif
|
11
|
+
|
12
|
+
/* Location type. */
|
13
|
+
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
|
14
|
+
typedef struct YYLTYPE YYLTYPE;
|
15
|
+
struct YYLTYPE
|
16
|
+
{
|
17
|
+
int first_line;
|
18
|
+
int first_column;
|
19
|
+
int last_line;
|
20
|
+
int last_column;
|
21
|
+
};
|
22
|
+
# define YYLTYPE_IS_DECLARED 1
|
23
|
+
# define YYLTYPE_IS_TRIVIAL 1
|
24
|
+
#endif
|
25
|
+
|
26
|
+
|
27
|
+
#endif
|