aboutsummaryrefslogtreecommitdiff
path: root/proofsearch/include/atp/core/term.h
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-04-07 03:59:58 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-04-07 03:59:58 +0800
commit598f364de0a809747714294326a0193788e0bdfb (patch)
tree1ab77a340ab0930b41ffc6291d06b12d1b302a88 /proofsearch/include/atp/core/term.h
parent593a94a3c13aff82b31fd6c61e0ae07b97a2e426 (diff)
downloadrcc-project-598f364de0a809747714294326a0193788e0bdfb.tar.gz
rcc-project-598f364de0a809747714294326a0193788e0bdfb.tar.xz
refactor: rename struct members to follow trailing underscore naming convention across core, search, and frontend components
Diffstat (limited to 'proofsearch/include/atp/core/term.h')
-rw-r--r--proofsearch/include/atp/core/term.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/proofsearch/include/atp/core/term.h b/proofsearch/include/atp/core/term.h
index 2be01e7..d35c753 100644
--- a/proofsearch/include/atp/core/term.h
+++ b/proofsearch/include/atp/core/term.h
@@ -33,11 +33,11 @@ namespace atp {
/// A term is a function/predicate application: f(t1, t2, ..., tn).
/// Variables are 0-arity terms whose symbol has SymbolKind::kVariable.
struct Term {
- SymbolId symbol_id; ///< Index into the SymbolTable
- std::vector<TermId> args; ///< Argument sub-term IDs
+ SymbolId symbol_id_; ///< Index into the SymbolTable
+ std::vector<TermId> args_; ///< Argument sub-term IDs
/// Number of arguments.
- [[nodiscard]] uint16_t arity() const { return static_cast<uint16_t>(args.size()); }
+ [[nodiscard]] uint16_t arity() const { return static_cast<uint16_t>(args_.size()); }
};
} // namespace atp