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);
     }
 }
Exemplo n.º 2
0
 public DotSet(AbstractLineTerminator lt_0) : base()
 {
     this.lt = lt_0;
 }
Exemplo n.º 3
0
 public DotQuantifierSet(AbstractSet innerSet, AbstractSet next, int type,
                         AbstractLineTerminator lt_0) : base(innerSet, next, type)
 {
     this.lt = lt_0;
 }
Exemplo n.º 4
0
 public MultiLineSOLSet(AbstractLineTerminator lt_0)
 {
     this.lt = lt_0;
 }