Lines Matching defs:lineInfo
37 void TSChecker::CheckTruthinessOfType(Type *type, lexer::SourcePosition lineInfo)
40 ThrowTypeError("An expression of type void cannot be tested for truthiness", lineInfo);
44 Type *TSChecker::CheckNonNullType(Type *type, lexer::SourcePosition lineInfo)
47 ThrowTypeError("Object is possibly 'null'.", lineInfo);
51 ThrowTypeError("Object is possibly 'undefined'.", lineInfo);
280 lexer::SourcePosition lineInfo)
284 lineInfo);
287 ThrowTypeError({"operator ", op, " cannot be applied to types ", leftType, " and ", rightType}, lineInfo);
290 void TSChecker::ThrowAssignmentError(Type *source, Type *target, lexer::SourcePosition lineInfo, bool isAsSrcLeftType)
293 ThrowTypeError({"Type '", AsSrc(source), "' is not assignable to type '", target, "'."}, lineInfo);
296 ThrowTypeError({"Type '", source, "' is not assignable to type '", target, "'."}, lineInfo);