aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/journey/nodes
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-12-19 19:24:25 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-12-19 19:24:25 -0500
commita36ae63d0710814202401cf24dd9aa7a5ad9756a (patch)
tree18a548fade3168edc0acd27199893256891224bd /actionpack/lib/action_dispatch/journey/nodes
parenta1cffa6d5849b45f439be62742ccca1633dfc9bd (diff)
downloadrails-a36ae63d0710814202401cf24dd9aa7a5ad9756a.tar.gz
rails-a36ae63d0710814202401cf24dd9aa7a5ad9756a.tar.bz2
rails-a36ae63d0710814202401cf24dd9aa7a5ad9756a.zip
:nodoc: Journey because is not part of the public API [ci skip]
Diffstat (limited to 'actionpack/lib/action_dispatch/journey/nodes')
-rw-r--r--actionpack/lib/action_dispatch/journey/nodes/node.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/actionpack/lib/action_dispatch/journey/nodes/node.rb b/actionpack/lib/action_dispatch/journey/nodes/node.rb
index 16d6cb8f0e..a372a37a90 100644
--- a/actionpack/lib/action_dispatch/journey/nodes/node.rb
+++ b/actionpack/lib/action_dispatch/journey/nodes/node.rb
@@ -1,8 +1,8 @@
require 'action_dispatch/journey/visitors'
module ActionDispatch
- module Journey
- module Nodes
+ module Journey # :nodoc:
+ module Nodes # :nodoc:
class Node # :nodoc:
include Enumerable
@@ -41,16 +41,16 @@ module ActionDispatch
def literal?; false; end
end
- class Terminal < Node
+ class Terminal < Node # :nodoc:
alias :symbol :left
end
- class Literal < Terminal
+ class Literal < Terminal # :nodoc:
def literal?; true; end
def type; :LITERAL; end
end
- class Dummy < Literal
+ class Dummy < Literal # :nodoc:
def initialize x = Object.new
super
end
@@ -66,7 +66,7 @@ module ActionDispatch
eoruby
end
- class Symbol < Terminal
+ class Symbol < Terminal # :nodoc:
attr_accessor :regexp
alias :symbol :regexp
@@ -83,19 +83,19 @@ module ActionDispatch
def symbol?; true; end
end
- class Unary < Node
+ class Unary < Node # :nodoc:
def children; [left] end
end
- class Group < Unary
+ class Group < Unary # :nodoc:
def type; :GROUP; end
end
- class Star < Unary
+ class Star < Unary # :nodoc:
def type; :STAR; end
end
- class Binary < Node
+ class Binary < Node # :nodoc:
attr_accessor :right
def initialize left, right
@@ -106,11 +106,11 @@ module ActionDispatch
def children; [left, right] end
end
- class Cat < Binary
+ class Cat < Binary # :nodoc:
def type; :CAT; end
end
- class Or < Node
+ class Or < Node # :nodoc:
attr_reader :children
def initialize children