public static AbstractLineTerminator GetInstance(int flag)
 {
     if ((flag & Pattern.UNIX_LINES) != 0)
     {
         if (unixLT != null)
         {
             return(unixLT);
         }
         unixLT = new AbstractLineTerminator.Anonymous_C1();
         return(unixLT);
     }
     else
     {
         if (unicodeLT != null)
         {
             return(unicodeLT);
         }
         unicodeLT = new AbstractLineTerminator.Anonymous_C0();
         return(unicodeLT);
     }
 }
Beispiel #2
0
 public DotSet(AbstractLineTerminator lt_0) : base()
 {
     this.lt = lt_0;
 }
Beispiel #3
0
 public DotQuantifierSet(AbstractSet innerSet, AbstractSet next, int type,
                         AbstractLineTerminator lt_0) : base(innerSet, next, type)
 {
     this.lt = lt_0;
 }
 public MultiLineSOLSet(AbstractLineTerminator lt_0)
 {
     this.lt = lt_0;
 }