Lines Matching refs:pattern
102 public void PrintTree(ICommandInteraction writer, TreeViewBlock[] pattern = null) in PrintTree() argument
104 if(pattern == null) in PrintTree()
106 pattern = new TreeViewBlock[0]; in PrintTree()
108 var indent = GetIndentString(pattern); in PrintTree()
113 …var newIndent = GetIndentString(UpdatePattern(pattern, Children.Count > 0 ? TreeViewBlock.Straight… in PrintTree()
131 …child.PrintTree(writer, UpdatePattern(pattern, child != lastChild ? TreeViewBlock.Full : TreeViewB… in PrintTree()
175 private static void FixLastSign(TreeViewBlock[] pattern) in FixLastSign() argument
177 if(pattern.Length < 1) in FixLastSign()
181 if(pattern[pattern.Length - 1] == TreeViewBlock.Full) in FixLastSign()
183 pattern[pattern.Length - 1] = TreeViewBlock.Straight; in FixLastSign()
185 else if(pattern[pattern.Length - 1] == TreeViewBlock.End) in FixLastSign()
187 pattern[pattern.Length - 1] = TreeViewBlock.Empty; in FixLastSign()