lexical_analyzer 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lexical_analyzer.gemspec +1 -0
- data/lib/lexical_analyzer/version.rb +1 -1
- data/lib/lexical_analyzer.rb +2 -1
- data/rakefile.rb +5 -0
- data/reek.txt +1 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee15b89d663889db39772853d91bdb4152977d0f
|
4
|
+
data.tar.gz: 4790044e23aca76c211d3aa4e56d10b585399cb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddfe76924797cc38c2c05e32f8465795340123d45385aa674e7e706a406eed36d9eecc3e437256af2fed11fb6b8d2e29da19e47bab57d044213185fa3ed269f7
|
7
|
+
data.tar.gz: b91be335cd609992b2ca23424d39173f26a26b385c984da079cb1a8da6b3d4cd15e0f54affc5d9efa42ae1eb6404359207aaefbf1fe42ed520e90edf11a838a4
|
data/lexical_analyzer.gemspec
CHANGED
data/lib/lexical_analyzer.rb
CHANGED
@@ -3,8 +3,9 @@
|
|
3
3
|
|
4
4
|
require_relative 'lexical_analyzer/version'
|
5
5
|
|
6
|
+
# The RCTP class for lexical analysis.
|
6
7
|
class LexicalAnalyzer
|
7
|
-
|
8
|
+
attr_reader :text # Access the text in the analyzer.
|
8
9
|
attr_reader :rules # Access the array of lexical rules.
|
9
10
|
|
10
11
|
# Some array index values.
|
data/rakefile.rb
CHANGED
data/reek.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0 total warnings
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lexical_analyzer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PeterCamilleri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: reek
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 5.0.2
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 5.0.2
|
55
69
|
description: The RCTP configurable lexical analyser.
|
56
70
|
email:
|
57
71
|
- peter.c.camilleri@gmail.com
|
@@ -68,6 +82,7 @@ files:
|
|
68
82
|
- lib/lexical_analyzer.rb
|
69
83
|
- lib/lexical_analyzer/version.rb
|
70
84
|
- rakefile.rb
|
85
|
+
- reek.txt
|
71
86
|
homepage: https://github.com/PeterCamilleri/lexical_analyzer
|
72
87
|
licenses:
|
73
88
|
- MIT
|