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); }
protected internal override bool DoMatch(AstNode other, PatternMatching.Match match) { InlineAsmNode o = other as InlineAsmNode; return(o != null && MatchString(this.Content, o.Content)); }