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

            _identifier = referenceContext.GetText();
        }
Ejemplo n.º 5
0
 protected CompilationError(ErrorContext errorContext) : base(errorContext)
 {
 }