Displaying 3 results from an estimated 3 matches for "qualified_nam".
Did you mean:
qualified_name
2007 Sep 04
4
Errors in executing first RoR app - reg.
...have no name to be referenced by>
["C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:404:in
`to_constant_name
''",
"C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:214:in
`qualified_nam
e_for''",
"C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:476:in
`const_mi
ssing''",
"C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:117:in
`reset_after_dispatch''", "...
2007 Nov 27
0
Working with one model from another
...non-database
model from another, ActiveRecord, model in order to use some custom
methods on a string, without mixing extra methods into the String class.
I understand this might be less-than-sensible as models should normally
stand on their own..?
My two models:
#######################
# models/qualified_name.rb #
#######################
# t.column :make, :text
# t.column :model, :text
# t.column :origin_country, :text
class QualifiedName < ActiveRecord::Base
# Work some magic -- let''s populate the instance using the raw name
string (e.g. "Honda Civic"...
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...+ : first_type(first_type), second_type(second_type) {}
+
+ void print_left(stream& s) const override
+ {
+ s += "construction vtable for ";
+ first_type->print(s);
+ s += "-in-";
+ second_type->print(s);
+ }
+};
+
+class qualified_name final : public type
+{
+ // qualifier::name
+ node* qualifier;
+ node* name;
+
+ mutable stream_string_ref cache;
+
+public:
+ qualified_name(node* qualifier, node* name)
+ : qualifier(qualifier), name(name) {}
+
+ string_ref get_base_name() const override {
+ r...