Rust: Add qldoc

This commit is contained in:
Simon Friis Vindum
2025-11-25 10:19:49 +01:00
parent 393da4567e
commit 4f13ae3fc9

View File

@@ -36,6 +36,7 @@ module Impl {
pragma[nomagic]
TupleField getTupleField(int i) { result = this.getFieldList().(TupleFieldList).getField(i) }
/** Gets the number of fields of this variant. */
int getNumberOfFields() {
not this.hasFieldList() and
result = 0