示例#1
0
 public InComment(Patterns?pat = null, InLiteral.EFlags literal_flags = InLiteral.EFlags.Escaped | InLiteral.EFlags.SingleLineStrings)
 {
     m_pat     = pat ?? new Patterns();
     m_lit     = new InLiteral(literal_flags);
     m_comment = EType.None;
     m_escape  = false;
     m_emit    = 0;
 }
示例#2
0
 public StripComments(Src src, InLiteral.EFlags literal_flags = InLiteral.EFlags.Escaped | InLiteral.EFlags.SingleLineStrings, InComment.Patterns?comment_patterns = null)
     : base(src)
 {
     m_com = new InComment(comment_patterns ?? new InComment.Patterns(), literal_flags);
 }