private void InstantiateFromMatchFactor(MatchFactor m) { if (m is SingleChar) InstantiateFromSingleChar((SingleChar)m); else if (m is CharacterClass) InstantiateFromCharClass((CharacterClass)m); else if (m is Group) InstantiateFromRegex(((Group)m).InnerRegExpr); }
public NFAGraph(MatchFactor mtch) { InstantiateFromMatchFactor(mtch); }
public MatchFactorWithOp(MatchFactor fac, UnaryOperator op) { Factor = fac; Op = op; }