/// <summary> /// Root file block /// </summary> /// <param name="pars"></param> public void Visit(ParsedFile pars) { // to code explorer PushToCodeExplorer( null, new RootCodeItem { DisplayText = "Root", SubText = null, DocumentOwner = pars.FilePath, GoToLine = pars.Line, GoToColumn = pars.Column }); }
/// <summary> /// Root file block /// </summary> /// <param name="pars"></param> public void Visit(ParsedFile pars) { // to code explorer _parsedExplorerItemsList.Add(new CodeExplorerItem { DisplayText = pars.Name, Branch = CodeExplorerBranch.Root, IconType = CodeExplorerIconType.BranchIcon, IsRoot = true, Flag = 0, DocumentOwner = pars.FilePath, GoToLine = pars.Line, GoToColumn = pars.Column, SubString = null }); }
public TextTokenizerVisitor(string filePath) { FilePath = filePath; _rootScope = new ParsedFile("Root", new TokenEos(null, 0, 0, 0, 0)); }