Module: LangScan::Autoconf
- Defined in:
- lib/langscan/autoconf.rb
Constant Summary collapse
- Pattern =
[[:comment, "#.*"], [:string, "\"", "\""], [:string, "'", "'"], [:integer, "\\d+"], [:ident, "\\w+"], [:keyword, "AC_\\w+"]]
- Types =
[]
- Keywords =
%w( if then else elif fi continue for in do done case esac exit )
Class Method Summary collapse
- .abbrev ⇒ Object
- .extnames ⇒ Object
- .name ⇒ Object
-
.scan(input, &block) ⇒ Object
LangScan::Autoconf.scan iterates over autoconf file.
Class Method Details
.abbrev ⇒ Object
21 22 23 |
# File 'lib/langscan/autoconf.rb', line 21 def abbrev "autoconf" end |
.extnames ⇒ Object
25 26 27 |
# File 'lib/langscan/autoconf.rb', line 25 def extnames [".ac"] end |
.name ⇒ Object
17 18 19 |
# File 'lib/langscan/autoconf.rb', line 17 def name "Autoconf" end |