std::string as_string () const override { return lit_expr.as_string (); }
+ Location get_locus () const override { return lit_expr.get_locus (); }
+
void accept_vis (ASTVisitor &vis) override;
bool check_cfg_predicate (const Session &session) const override;
return path.as_string () + " = " + lit.as_string ();
}
+ // There are two Locations in MetaItemPathLit (path and lit_expr),
+ // we have no idea use which of them, just simply return UNKNOWN_LOCATION
+ // now.
+ // Maybe we will figure out when we really need the location in the future.
+ Location get_locus () const override { return Location (UNKNOWN_LOCATION); }
+
void accept_vis (ASTVisitor &vis) override;
bool check_cfg_predicate (const Session &session) const override;
return path;
}
+ Location get_locus () const override { return path.get_locus (); }
+
bool check_cfg_predicate (const Session &session) const override;
Attribute to_attribute () const override;
void accept_vis (ASTVisitor &vis) override;
+ Location get_locus () const override { return path.get_locus (); }
+
bool check_cfg_predicate (const Session &session) const override;
Attribute to_attribute () const override;
void accept_vis (ASTVisitor &vis) override;
+ Location get_locus () const override { return ident_locus; }
+
bool check_cfg_predicate (const Session &session) const override;
Attribute to_attribute () const override;
return std::unique_ptr<MetaNameValueStr> (clone_meta_item_inner_impl ());
}
+ Location get_locus () const override { return ident_locus; }
+
bool check_cfg_predicate (const Session &session) const override;
Attribute to_attribute () const override;
void accept_vis (ASTVisitor &vis) override;
+ Location get_locus () const override { return ident_locus; }
+
bool check_cfg_predicate (const Session &session) const override;
Attribute to_attribute () const override;
void accept_vis (ASTVisitor &vis) override;
+ Location get_locus () const override { return ident_locus; }
+
bool check_cfg_predicate (const Session &session) const override;
Attribute to_attribute () const override;