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

            _identifier = referenceContext.GetText();
        }
Example #5
0
 protected CompilationError(ErrorContext errorContext) : base(errorContext)
 {
 }