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=7c9314f502cde8daad23b61d10b24a542e04154a;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 - - - - - - - - - - -
- - - - - - - - - - - - - - -
ClassMCollective::Matcher::Parser
In: - - lib/mcollective/matcher/parser.rb - -
-
Parent: - Object -
-
- - -
- - - -
- - - -
- -
-

Methods

+ - -
+ Class: MCollective::Matcher::Parser -
+ + + + + - - -
- - - - - -
-

Attributes

- -
- - - - - - - - - - - -
execution_stack [R] 
scanner [R] 
-
-
- - - - -
-

Public Class methods

- -
- - - - -
-

[Source]

-
+ + + +
+
+
+

In Files

+ +
+ + +
+ +
+ + + +
+

Parent

+ + + +
+ + + + + + + + + + + + +
+ +
+ + + + + +
+

Class Index + [+]

+
+
+ Quicksearch + +
+
+ + + +
+ + +
+
+ +
+

MCollective::Matcher::Parser

+ +
+ +
+ + + + + + +
+

Attributes

+ + +
+ + +
+ scanner[R] +
+ +
+ +

(Not documented)

+ +
+
+ +
+ + +
+ execution_stack[R] +
+ +
+ +

(Not documented)

+ +
+
+ +
+ + + + +
+

Public Class Methods

+ + +
+ + +
+ + new(args) + click to toggle source + +
+ +
+ +

(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
-
-
-
-
- -

Public Instance methods

- -
- - - - -
-

[Source]

-
+16: end +
+ +
+ + +
+ + +
+ +
+

Public Instance Methods

+ + +
+ + +
+ + exit_with_paren_errors() + click to toggle source + +
+ +
+ +

(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
-
-
-
-
- -
- - - - -
-

[Source]

-
+42: end +
+ +
+ + +
+ + +
+ + +
+ + exit_with_parse_errors() + click to toggle source + +
+ +
+ +

(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
-
-
-
-
- -
- - - - -
-

+35: end +

+ +
+ + +
+ + +
+ + +
+ + exit_with_token_errors() + click to toggle source + +
+ +
+ +

Exit and highlight any malformed tokens

-

[Source]

-
+ + + +
     # 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
-
-
-
-
- -
- - - - -
-

+26: end +

+ +
+ + +
+ + +
+ + +
+ + parse() + click to toggle source + +
+ +
+ +

Parse the input string, one token at a time a contruct the call stack

-

[Source]

-
+ + + +
      # 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
-
-
-
-
+125: end +
+ +
+ +
-
+ +
+ +
-
+
+ +

Disabled; run with --debug to generate this.

+ +
-
-

[Validate]

-
+
+

[Validate]

+

Generated with the Darkfish + Rdoc Generator 1.1.6.

+
- \ No newline at end of file + +