diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-04-07 03:59:58 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-04-07 03:59:58 +0800 |
| commit | 5ab3efd522cf0221481684b5bbc9c2ac6bfc9919 (patch) | |
| tree | 9c521dedd2bc49bdbac642a0640dd048b6d8e4a1 /include/atp/core/term.h | |
| parent | bf4f464cec8b6515d9e5131d43847ef9b2fd21d1 (diff) | |
| download | ratp-5ab3efd522cf0221481684b5bbc9c2ac6bfc9919.tar.gz ratp-5ab3efd522cf0221481684b5bbc9c2ac6bfc9919.tar.xz | |
refactor: rename struct members to follow trailing underscore naming convention across core, search, and frontend components
Diffstat (limited to 'include/atp/core/term.h')
| -rw-r--r-- | include/atp/core/term.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/atp/core/term.h b/include/atp/core/term.h index 2be01e7..d35c753 100644 --- a/include/atp/core/term.h +++ b/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 |
