X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=doc%2FMCollective%2FMatcher%2FParser.html;fp=doc%2Fclasses%2FMCollective%2FMatcher%2FParser.html;h=81092b11fc72114a849d56f67f2001fd893a9580;hb=refs%2Fheads%2Fhavana;hp=a32d2cc0578439d0d1ee2f8291e8269243c25b1c;hpb=d1f1649ba43c5cbc43c4beb2380096ba051d646a;p=packages%2Fprecise%2Fmcollective.git diff --git a/doc/classes/MCollective/Matcher/Parser.html b/doc/MCollective/Matcher/Parser.html similarity index 53% rename from doc/classes/MCollective/Matcher/Parser.html rename to doc/MCollective/Matcher/Parser.html index a32d2cc..81092b1 100644 --- a/doc/classes/MCollective/Matcher/Parser.html +++ b/doc/MCollective/Matcher/Parser.html @@ -1,148 +1,408 @@ - - - + +
-Class | -MCollective::Matcher::Parser | -
In: | -
-
- lib/mcollective/matcher/parser.rb
-
- - |
-
Parent: | -- Object - | -
execution_stack | -[R] | -- |
scanner | -[R] | -- |
(Not documented)
+ + + +# File lib/mcollective/matcher/parser.rb, line 6 6: def initialize(args) @@ -155,27 +415,40 @@ 13: exit_with_token_errors if @token_errors.size > 0 14: exit_with_parse_errors if @parse_errors.size > 0 15: exit_with_paren_errors if @paren_errors.size > 0 -16: end --
(Not documented)
+ + + +# File lib/mcollective/matcher/parser.rb, line 37 37: def exit_with_paren_errors @@ -183,25 +456,34 @@ 39: @scanner.arguments[i] = Util.colorize(:red, @scanner.arguments[i]) 40: end 41: raise "Missing parenthesis found while parsing -S input #{@scanner.arguments.join}" -42: end --
(Not documented)
+ + + +# File lib/mcollective/matcher/parser.rb, line 28 28: def exit_with_parse_errors @@ -211,28 +493,36 @@ 32: end 33: end 34: raise "Parse errors found while parsing -S input #{ @scanner.arguments.join}" -35: end --
Exit and highlight any malformed tokens
- -# File lib/mcollective/matcher/parser.rb, line 19 19: def exit_with_token_errors @@ -242,28 +532,36 @@ Exit and highlight any malformed tokens 23: end 24: end 25: raise "Malformed token(s) found while parsing -S input #{@scanner.arguments.join}" -26: end --
Parse the input string, one token at a time a contruct the call stack
- -# File lib/mcollective/matcher/parser.rb, line 45 45: def parse @@ -346,22 +644,33 @@ Parse the input string, one token at a time a contruct the call stack 122: end 123: pre_index = @scanner.token_index 124: end -125: end --
Disabled; run with --debug to generate this.
+ +Generated with the Darkfish + Rdoc Generator 1.1.6.
+