/// <summary> /// All the references of {&variable} found /// </summary> /// <param name="pars"></param> public void Visit(ParsedUsedPreProcVariable pars) { var preproc = new PreprocVarCodeItem { DisplayText = pars.Name, Flags = pars.Flags, SubText = null, DocumentOwner = pars.FilePath, GoToLine = pars.Line, GoToColumn = pars.Column }; // To code explorer if (pars.Flags.HasFlag(ParseFlag.NotFound)) { PushToCodeExplorer( GetExplorerListNode("Missing includes/variables", CodeExplorerIconType.MissingInclude), preproc); } else { // To code explorer PushToCodeExplorer( GetExplorerListNode("Preprocessed variables usage", CodeExplorerIconType.PreprocessedVariable), preproc); } }
public void Visit(ParsedUsedPreProcVariable pars) { AppendEverything(pars); }