Esempio n. 1
0
 public override void VisitAsmCode(InlineAsmNode comment)
 {
     if (comment.EndLocation.Line - comment.StartLocation.Line > 2)
     {
         var folding = AddFolding(comment.StartLocation, comment.EndLocation);
         if (folding != null)
         {
             folding.Name = "$> Asm <$";
         }
     }
     //  base.VisitAsmCode(comment);
 }
Esempio n. 2
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            InlineAsmNode o = other as InlineAsmNode;

            return(o != null && MatchString(this.Content, o.Content));
        }