public BrackNotMatchingBracketException(BracketType openType, BracketType closeType, string fileName = null, int line = -1, int position = -1) : base("MATCH: Bracket of type " + openType.ToString() + " closed with bracket of unmatching type " + closeType.ToString() + "!", fileName, line, position)
 {
 }
 public BrackUnclosedBracketException(BracketType unclosedType, string fileName = null, int line = -1, int position = -1) : base("UNCLOSE: Bracket of type " + unclosedType.ToString() + " is not closed by the end of file!", fileName, line, position)
 {
 }
Пример #3
0
 public BracketAtomic(BracketType type, int level = -1)
 {
     BracketType  = type;
     AtomicString = type.ToString();
     BracketLevel = level;
 }