Пример #1
0
        public override void VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node)
        {
            if (!PreVisit(node))
            {
                return;
            }

            base.VisitWarningDirectiveTrivia(node);

            PostVisit(node);
        }
Пример #2
0
        public override void VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node)
        {
            // if (debug) Console.WriteLine(node.ToFullString());
            // Todo("WarningDirectiveTrivia"); var nl = OurLine.NewLine(LineKind.Decl, "WarningDirectiveTrivia");
            // nl.Source = node.ToFullString();
            // nl.ParentKind = node.Parent.RawKind;
            // nl.RawKind = node.RawKind;
            // LogCommand(nl);
            // Todo("WarningDirectiveTrivia");

            base.VisitWarningDirectiveTrivia(node);
        }
Пример #3
0
 private void ClassifyWarningDirective(WarningDirectiveTriviaSyntax node)
 {
     AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword);
     AddClassification(node.WarningKeyword, ClassificationTypeNames.PreprocessorKeyword);
     ClassifyDirectiveTrivia(node, allowComments: false);
 }
Пример #4
0
 private void ClassifyWarningDirective(WarningDirectiveTriviaSyntax node)
 {
     AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword);
     AddClassification(node.WarningKeyword, ClassificationTypeNames.PreprocessorKeyword);
     ClassifyDirectiveTrivia(node, allowComments: false);
 }
Пример #5
0
        //public override void VisitVariableDeclarator(VariableDeclaratorSyntax node)
        //{
        //    base.VisitVariableDeclarator(node);
        //}

        public override void VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node)
        {
            Debug.Fail(node.ToString());
            base.VisitWarningDirectiveTrivia(node);
        }
Пример #6
0
 public TameWarningDirectiveTriviaSyntax(WarningDirectiveTriviaSyntax node)
 {
     Node = node;
     AddChildren();
 }
Пример #7
0
 public override Evaluation VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node)
 {
     return(base.VisitWarningDirectiveTrivia(node));
 }
Пример #8
0
 public override void VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node)
 {
     throw new NotImplementedException();
 }
Пример #9
0
 public override Ust VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node)
 {
     throw new InvalidOperationException();
 }
Пример #10
0
 public override void VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node)
 {
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="node"></param>
 public override sealed void VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node)
 {
     this.OnNodeVisited(node, this.type.IsInstanceOfType(node));
     base.VisitWarningDirectiveTrivia(node);
 }
Пример #12
0
 public override void VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node)
 {
     new Entities.WarningDirective(cx, node);
 }
Пример #13
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="node"></param>
 public override sealed void VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node)
 {
     this.OnNodeVisited(node);
     if (!this.traverseRootOnly) base.VisitWarningDirectiveTrivia(node);
 }
Пример #14
0
 public override SyntaxNode VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node)
 {
     node = (WarningDirectiveTriviaSyntax)base.VisitWarningDirectiveTrivia(node);
     Classes.Add(node);
     return(node);
 }
 //
 // Summary:
 //     Called when the visitor visits a WarningDirectiveTriviaSyntax node.
 public virtual void VisitWarningDirectiveTrivia(WarningDirectiveTriviaSyntax node);