We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24e9f23 commit 1cf91d4Copy full SHA for 1cf91d4
optd-cost-model/src/common/predicates/attr_ref_pred.rs
@@ -38,6 +38,12 @@ impl AttributeRefPred {
38
pub fn attr_index(&self) -> usize {
39
self.0.child(1).data.as_ref().unwrap().as_u64() as usize
40
}
41
+
42
+ /// Checks whether the attribute is a derived attribute. Currently, this will always return
43
+ /// false, since derived attribute is not yet supported.
44
+ pub fn is_derived(&self) -> bool {
45
+ false
46
+ }
47
48
49
impl ReprPredicateNode for AttributeRefPred {
0 commit comments