diff options
author | Matthew Draper <matthew@trebex.net> | 2018-02-24 18:11:47 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2018-02-24 18:11:47 +1030 |
commit | 354f1c28e81d9846fb9e5346fcca50cf303c12c1 (patch) | |
tree | 1f6352394aa260ae666b518f42cc4961983cbc05 /activerecord/lib/arel/nodes | |
parent | 4c0a3d48804a363c7e9272519665a21f601b5248 (diff) | |
download | rails-354f1c28e81d9846fb9e5346fcca50cf303c12c1.tar.gz rails-354f1c28e81d9846fb9e5346fcca50cf303c12c1.tar.bz2 rails-354f1c28e81d9846fb9e5346fcca50cf303c12c1.zip |
Arel: :nodoc: all
Diffstat (limited to 'activerecord/lib/arel/nodes')
43 files changed, 43 insertions, 43 deletions
diff --git a/activerecord/lib/arel/nodes/and.rb b/activerecord/lib/arel/nodes/and.rb index e76d4f3933..c530a77bfb 100644 --- a/activerecord/lib/arel/nodes/and.rb +++ b/activerecord/lib/arel/nodes/and.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class And < Arel::Nodes::Node attr_reader :children diff --git a/activerecord/lib/arel/nodes/ascending.rb b/activerecord/lib/arel/nodes/ascending.rb index 7ee531734f..8b617f4df5 100644 --- a/activerecord/lib/arel/nodes/ascending.rb +++ b/activerecord/lib/arel/nodes/ascending.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Ascending < Ordering def reverse diff --git a/activerecord/lib/arel/nodes/binary.rb b/activerecord/lib/arel/nodes/binary.rb index e6a5cb63df..e184e99c73 100644 --- a/activerecord/lib/arel/nodes/binary.rb +++ b/activerecord/lib/arel/nodes/binary.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Binary < Arel::Nodes::NodeExpression attr_accessor :left, :right diff --git a/activerecord/lib/arel/nodes/bind_param.rb b/activerecord/lib/arel/nodes/bind_param.rb index 1cc1886c2a..53c5563d93 100644 --- a/activerecord/lib/arel/nodes/bind_param.rb +++ b/activerecord/lib/arel/nodes/bind_param.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class BindParam < Node attr_accessor :value diff --git a/activerecord/lib/arel/nodes/case.rb b/activerecord/lib/arel/nodes/case.rb index 22c2da98dd..654a54825e 100644 --- a/activerecord/lib/arel/nodes/case.rb +++ b/activerecord/lib/arel/nodes/case.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Case < Arel::Nodes::Node attr_accessor :case, :conditions, :default diff --git a/activerecord/lib/arel/nodes/casted.rb b/activerecord/lib/arel/nodes/casted.rb index c701e7ff41..c1e6e97d6d 100644 --- a/activerecord/lib/arel/nodes/casted.rb +++ b/activerecord/lib/arel/nodes/casted.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Casted < Arel::Nodes::NodeExpression # :nodoc: attr_reader :val, :attribute diff --git a/activerecord/lib/arel/nodes/count.rb b/activerecord/lib/arel/nodes/count.rb index 3f138738ef..c8e409ea8b 100644 --- a/activerecord/lib/arel/nodes/count.rb +++ b/activerecord/lib/arel/nodes/count.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Count < Arel::Nodes::Function include Math diff --git a/activerecord/lib/arel/nodes/delete_statement.rb b/activerecord/lib/arel/nodes/delete_statement.rb index 1aad4199cd..eaac05e2f6 100644 --- a/activerecord/lib/arel/nodes/delete_statement.rb +++ b/activerecord/lib/arel/nodes/delete_statement.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class DeleteStatement < Arel::Nodes::Node attr_accessor :left, :right diff --git a/activerecord/lib/arel/nodes/descending.rb b/activerecord/lib/arel/nodes/descending.rb index afcb6b1b71..f3f6992ca8 100644 --- a/activerecord/lib/arel/nodes/descending.rb +++ b/activerecord/lib/arel/nodes/descending.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Descending < Ordering def reverse diff --git a/activerecord/lib/arel/nodes/equality.rb b/activerecord/lib/arel/nodes/equality.rb index 4ed545ae17..2aa85a977e 100644 --- a/activerecord/lib/arel/nodes/equality.rb +++ b/activerecord/lib/arel/nodes/equality.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Equality < Arel::Nodes::Binary def operator; :== end diff --git a/activerecord/lib/arel/nodes/extract.rb b/activerecord/lib/arel/nodes/extract.rb index 56069cd05a..5799ee9b8f 100644 --- a/activerecord/lib/arel/nodes/extract.rb +++ b/activerecord/lib/arel/nodes/extract.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Extract < Arel::Nodes::Unary attr_accessor :field diff --git a/activerecord/lib/arel/nodes/false.rb b/activerecord/lib/arel/nodes/false.rb index 1759a323e3..1e5bf04be5 100644 --- a/activerecord/lib/arel/nodes/false.rb +++ b/activerecord/lib/arel/nodes/false.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class False < Arel::Nodes::NodeExpression def hash diff --git a/activerecord/lib/arel/nodes/full_outer_join.rb b/activerecord/lib/arel/nodes/full_outer_join.rb index 3551855201..91bb81f2e3 100644 --- a/activerecord/lib/arel/nodes/full_outer_join.rb +++ b/activerecord/lib/arel/nodes/full_outer_join.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class FullOuterJoin < Arel::Nodes::Join end diff --git a/activerecord/lib/arel/nodes/function.rb b/activerecord/lib/arel/nodes/function.rb index f3415da12b..0a439b39f5 100644 --- a/activerecord/lib/arel/nodes/function.rb +++ b/activerecord/lib/arel/nodes/function.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Function < Arel::Nodes::NodeExpression include Arel::WindowPredications diff --git a/activerecord/lib/arel/nodes/grouping.rb b/activerecord/lib/arel/nodes/grouping.rb index b371b01612..4d0bd69d4d 100644 --- a/activerecord/lib/arel/nodes/grouping.rb +++ b/activerecord/lib/arel/nodes/grouping.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Grouping < Unary end diff --git a/activerecord/lib/arel/nodes/in.rb b/activerecord/lib/arel/nodes/in.rb index 5d24d34528..2be45d6f99 100644 --- a/activerecord/lib/arel/nodes/in.rb +++ b/activerecord/lib/arel/nodes/in.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class In < Equality end diff --git a/activerecord/lib/arel/nodes/infix_operation.rb b/activerecord/lib/arel/nodes/infix_operation.rb index 501da11730..bc7e20dcc6 100644 --- a/activerecord/lib/arel/nodes/infix_operation.rb +++ b/activerecord/lib/arel/nodes/infix_operation.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class InfixOperation < Binary include Arel::Expressions diff --git a/activerecord/lib/arel/nodes/inner_join.rb b/activerecord/lib/arel/nodes/inner_join.rb index 8af99c2dae..519fafad09 100644 --- a/activerecord/lib/arel/nodes/inner_join.rb +++ b/activerecord/lib/arel/nodes/inner_join.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class InnerJoin < Arel::Nodes::Join end diff --git a/activerecord/lib/arel/nodes/insert_statement.rb b/activerecord/lib/arel/nodes/insert_statement.rb index 206d05e74f..d28fd1f6c8 100644 --- a/activerecord/lib/arel/nodes/insert_statement.rb +++ b/activerecord/lib/arel/nodes/insert_statement.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class InsertStatement < Arel::Nodes::Node attr_accessor :relation, :columns, :values, :select diff --git a/activerecord/lib/arel/nodes/join_source.rb b/activerecord/lib/arel/nodes/join_source.rb index 9d009e8081..abf0944623 100644 --- a/activerecord/lib/arel/nodes/join_source.rb +++ b/activerecord/lib/arel/nodes/join_source.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes ### # Class that represents a join source diff --git a/activerecord/lib/arel/nodes/matches.rb b/activerecord/lib/arel/nodes/matches.rb index 607efe86dc..fd5734f4bd 100644 --- a/activerecord/lib/arel/nodes/matches.rb +++ b/activerecord/lib/arel/nodes/matches.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Matches < Binary attr_reader :escape diff --git a/activerecord/lib/arel/nodes/named_function.rb b/activerecord/lib/arel/nodes/named_function.rb index 1d0baf2885..126462d6d6 100644 --- a/activerecord/lib/arel/nodes/named_function.rb +++ b/activerecord/lib/arel/nodes/named_function.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class NamedFunction < Arel::Nodes::Function attr_accessor :name diff --git a/activerecord/lib/arel/nodes/node.rb b/activerecord/lib/arel/nodes/node.rb index e2ce0a676d..2b9b1e9828 100644 --- a/activerecord/lib/arel/nodes/node.rb +++ b/activerecord/lib/arel/nodes/node.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes ### # Abstract base class for all AST nodes diff --git a/activerecord/lib/arel/nodes/node_expression.rb b/activerecord/lib/arel/nodes/node_expression.rb index e69e3262d5..cbcfaba37c 100644 --- a/activerecord/lib/arel/nodes/node_expression.rb +++ b/activerecord/lib/arel/nodes/node_expression.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class NodeExpression < Arel::Nodes::Node include Arel::Expressions diff --git a/activerecord/lib/arel/nodes/outer_join.rb b/activerecord/lib/arel/nodes/outer_join.rb index 2440be1f03..0a3042be61 100644 --- a/activerecord/lib/arel/nodes/outer_join.rb +++ b/activerecord/lib/arel/nodes/outer_join.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class OuterJoin < Arel::Nodes::Join end diff --git a/activerecord/lib/arel/nodes/over.rb b/activerecord/lib/arel/nodes/over.rb index 57baebe9b3..91176764a9 100644 --- a/activerecord/lib/arel/nodes/over.rb +++ b/activerecord/lib/arel/nodes/over.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Over < Binary include Arel::AliasPredication diff --git a/activerecord/lib/arel/nodes/regexp.rb b/activerecord/lib/arel/nodes/regexp.rb index a2da51c135..7c25095569 100644 --- a/activerecord/lib/arel/nodes/regexp.rb +++ b/activerecord/lib/arel/nodes/regexp.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Regexp < Binary attr_accessor :case_sensitive diff --git a/activerecord/lib/arel/nodes/right_outer_join.rb b/activerecord/lib/arel/nodes/right_outer_join.rb index 910eb0fa1f..04ed4aaa78 100644 --- a/activerecord/lib/arel/nodes/right_outer_join.rb +++ b/activerecord/lib/arel/nodes/right_outer_join.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class RightOuterJoin < Arel::Nodes::Join end diff --git a/activerecord/lib/arel/nodes/select_core.rb b/activerecord/lib/arel/nodes/select_core.rb index 1686761bd5..2defe61974 100644 --- a/activerecord/lib/arel/nodes/select_core.rb +++ b/activerecord/lib/arel/nodes/select_core.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class SelectCore < Arel::Nodes::Node attr_accessor :top, :projections, :wheres, :groups, :windows diff --git a/activerecord/lib/arel/nodes/select_statement.rb b/activerecord/lib/arel/nodes/select_statement.rb index d1c42dba3b..eff5dad939 100644 --- a/activerecord/lib/arel/nodes/select_statement.rb +++ b/activerecord/lib/arel/nodes/select_statement.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class SelectStatement < Arel::Nodes::NodeExpression attr_reader :cores diff --git a/activerecord/lib/arel/nodes/sql_literal.rb b/activerecord/lib/arel/nodes/sql_literal.rb index 1ee496f285..d25a8521b7 100644 --- a/activerecord/lib/arel/nodes/sql_literal.rb +++ b/activerecord/lib/arel/nodes/sql_literal.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class SqlLiteral < String include Arel::Expressions diff --git a/activerecord/lib/arel/nodes/string_join.rb b/activerecord/lib/arel/nodes/string_join.rb index ba3f5f9535..86027fcab7 100644 --- a/activerecord/lib/arel/nodes/string_join.rb +++ b/activerecord/lib/arel/nodes/string_join.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class StringJoin < Arel::Nodes::Join def initialize(left, right = nil) diff --git a/activerecord/lib/arel/nodes/table_alias.rb b/activerecord/lib/arel/nodes/table_alias.rb index 37ad786d44..f95ca16a3d 100644 --- a/activerecord/lib/arel/nodes/table_alias.rb +++ b/activerecord/lib/arel/nodes/table_alias.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class TableAlias < Arel::Nodes::Binary alias :name :right diff --git a/activerecord/lib/arel/nodes/terminal.rb b/activerecord/lib/arel/nodes/terminal.rb index 7cfd2eba4b..d84c453f1a 100644 --- a/activerecord/lib/arel/nodes/terminal.rb +++ b/activerecord/lib/arel/nodes/terminal.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Distinct < Arel::Nodes::NodeExpression def hash diff --git a/activerecord/lib/arel/nodes/true.rb b/activerecord/lib/arel/nodes/true.rb index 8de1f7522f..c891012969 100644 --- a/activerecord/lib/arel/nodes/true.rb +++ b/activerecord/lib/arel/nodes/true.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class True < Arel::Nodes::NodeExpression def hash diff --git a/activerecord/lib/arel/nodes/unary.rb b/activerecord/lib/arel/nodes/unary.rb index 27dd2c1ddf..a3c0045897 100644 --- a/activerecord/lib/arel/nodes/unary.rb +++ b/activerecord/lib/arel/nodes/unary.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Unary < Arel::Nodes::NodeExpression attr_accessor :expr diff --git a/activerecord/lib/arel/nodes/unary_operation.rb b/activerecord/lib/arel/nodes/unary_operation.rb index a64346d278..524282ac84 100644 --- a/activerecord/lib/arel/nodes/unary_operation.rb +++ b/activerecord/lib/arel/nodes/unary_operation.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class UnaryOperation < Unary attr_reader :operator diff --git a/activerecord/lib/arel/nodes/unqualified_column.rb b/activerecord/lib/arel/nodes/unqualified_column.rb index 216a35bc30..7c3e0720d7 100644 --- a/activerecord/lib/arel/nodes/unqualified_column.rb +++ b/activerecord/lib/arel/nodes/unqualified_column.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class UnqualifiedColumn < Arel::Nodes::Unary alias :attribute :expr diff --git a/activerecord/lib/arel/nodes/update_statement.rb b/activerecord/lib/arel/nodes/update_statement.rb index 5cce1e3615..5184b1180f 100644 --- a/activerecord/lib/arel/nodes/update_statement.rb +++ b/activerecord/lib/arel/nodes/update_statement.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class UpdateStatement < Arel::Nodes::Node attr_accessor :relation, :wheres, :values, :orders, :limit diff --git a/activerecord/lib/arel/nodes/values.rb b/activerecord/lib/arel/nodes/values.rb index 8554440be6..650248dc04 100644 --- a/activerecord/lib/arel/nodes/values.rb +++ b/activerecord/lib/arel/nodes/values.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Values < Arel::Nodes::Binary alias :expressions :left diff --git a/activerecord/lib/arel/nodes/values_list.rb b/activerecord/lib/arel/nodes/values_list.rb index e68518d684..27109848e4 100644 --- a/activerecord/lib/arel/nodes/values_list.rb +++ b/activerecord/lib/arel/nodes/values_list.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class ValuesList < Node attr_reader :rows diff --git a/activerecord/lib/arel/nodes/window.rb b/activerecord/lib/arel/nodes/window.rb index 1f14630c81..4916fc7fbe 100644 --- a/activerecord/lib/arel/nodes/window.rb +++ b/activerecord/lib/arel/nodes/window.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class Window < Arel::Nodes::Node attr_accessor :orders, :framing, :partitions diff --git a/activerecord/lib/arel/nodes/with.rb b/activerecord/lib/arel/nodes/with.rb index a0fbf87e8e..157bdcaa08 100644 --- a/activerecord/lib/arel/nodes/with.rb +++ b/activerecord/lib/arel/nodes/with.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Arel +module Arel # :nodoc: all module Nodes class With < Arel::Nodes::Unary alias children expr |