コード例 #1
0
 /// <summary>
 /// Visits a rule node.
 /// </summary>
 /// <param name="rule">The rule node to visit.</param>
 private void VisitRule(UvssRuleSyntax rule)
 {
     Style(rule.ColonToken, typeUvssPropertyName);
 }
コード例 #2
0
ファイル: SyntaxVisitor.cs プロジェクト: RUSshy/ultraviolet
 /// <summary>
 /// Visits the specified rule node.
 /// </summary>
 /// <param name="node">The node to visit.</param>
 /// <returns>A node which should replace the visited node, or a reference to the visited node
 /// itself if no changes were made.</returns>
 public virtual SyntaxNode VisitRule(UvssRuleSyntax node)
 {
     return VisitSyntaxNode(node);
 }