Пример #1
0
 public InvalidArraySizeError(ErrorContext errorContext, string identifier, int declaredSize) : base(errorContext)
 {
     _identifier   = identifier;
     _declaredSize = declaredSize;
 }
Пример #2
0
 public InconsistentArraySizeError(ErrorContext errorContext, string identifier, int declaredSize, int elementsCount) : base(errorContext)
 {
     _identifier    = identifier;
     _declaredSize  = declaredSize;
     _elementsCount = elementsCount;
 }
Пример #3
0
 protected CompilationWarning(ErrorContext errorContext) : base(errorContext)
 {
 }
Пример #4
0
        public UndeclaredIdentifierError(ErrorContext errorContext) : base(errorContext)
        {
            ParserRuleContext referenceContext = errorContext.Context;

            _identifier = referenceContext.GetText();
        }
Пример #5
0
 protected CompilationError(ErrorContext errorContext) : base(errorContext)
 {
 }