cpptooling.analyzer.clang.cursor_logger

Members

Functions

logNode
void logNode(ref const(Cursor) c, in int indent = 0, string func = __FUNCTION__, uint line = __LINE__)

Log information of a cursor.

Templates

mixinNodeLog
template mixinNodeLog()

logNode can't take a rvalue so creating a temporary and then logging. -3 because there are 3 lines until the call to logNoe. By subtracting it is kept semantic equivalent to the mixin line.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

This file contains convenient functions for logging some meta data about a cursor for debugging purpose.

License

MPL-2