Skip to content

problem with showing node content in c++ #1284

Description

@sonmax89

hello

I've got this problem when trying to read content of a function. please help to check
I want to read a content of a function which many files has that function name
when using only function it can show content

codegraph node setState
132 definitions named "setState"
Returning 8 in full; 124 more listed below — pick the one you need (no Read required).

--other content of other file--

setState (method)

Location: external/icu/icu4c/source/i18n/formattedvalue.cpp:56

56	void ConstrainedFieldPosition::setState(
57	        int32_t category,
58	        int32_t field,
59	        int32_t start,
60	        int32_t limit) {
61	    fCategory = category;
62	    fField = field;
63	    fStart = start;
64	    fLimit = limit;
65	}

Trail — codegraph_node any of these to follow it (no Read needed)
Called by ← nextPosition (external/icu/icu4c/source/i18n/formattedval_iterimpl.cpp:45), nextFieldPosition (external/icu/icu4c/source/i18n/formattedval_sbimpl.cpp:52), nextPositionImpl (external/icu/icu4c/source/i18n/formattedval_sbimpl.cpp:108), ucfpos_setState (external/icu/icu4c/source/i18n/formattedvalue.cpp:173), play (external/skia/modules/audioplayer/SkAudioPlayer.h:40), pause (external/skia/modules/audioplayer/SkAudioPlayer.h:41), stop (external/skia/modules/audioplayer/SkAudioPlayer.h:42)


then I want to exactly see content in external/icu/icu4c/source/i18n/formattedvalue.cpp
so I use command with -f but it doesn't show content of the function. is there problem or any other way to show?

codegraph node setState -f external/icu/icu4c/source/i18n/formattedvalue.cpp
setState (method)

Location: external/icu/icu4c/source/i18n/formattedvalue.cpp:56
Trail — codegraph_node any of these to follow it (no Read needed)
Called by ← nextPosition (external/icu/icu4c/source/i18n/formattedval_iterimpl.cpp:45), nextFieldPosition (external/icu/icu4c/source/i18n/formattedval_sbimpl.cpp:52), nextPositionImpl (external/icu/icu4c/source/i18n/formattedval_sbimpl.cpp:108), ucfpos_setState (external/icu/icu4c/source/i18n/formattedvalue.cpp:173), play (external/skia/modules/audioplayer/SkAudioPlayer.h:40), pause (external/skia/modules/audioplayer/SkAudioPlayer.h:41), stop (external/skia/modules/audioplayer/SkAudioPlayer.h:42)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions