pascalabcnet/bin/Lng/Eng/SyntaxTreeVisitorsErrors.dat
Mikhalkovich Stanislav bfc6ac8a84 fix #1696
2019-02-13 21:02:35 +03:00

24 lines
1.7 KiB
Plaintext

// Syntax tree conversion errors
%PREFIX%=SYNTAXTREEVISITORSERROR_
YIELD_FUNC_MUST_RETURN_SEQUENCE=Functions with yield must return sequences
YIELD_FUNC_CANNOT_RETURN_SEQUENCE_OF_ANONYMOUS_DELEGATES=Functions with yield cannot return sequence of anonymous delegates
ONLY_FUNCTIONS_CAN_CONTAIN_YIELDS=Only functions can contain yield
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_VAR_CONST_PARAMS_MODIFIERS=Functions with yield cannot contain 'var', 'const' or 'params' modifiers
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_DEFAULT_PARAMETERS=Functions with yield cannot have default parameters
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_RESULT=Functions with yield cannot contain Result variable
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_LOCK=Functions with yield cannot contain lock statement
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_TRY_EXCEPT_FINALLY=Functions with yield cannot contain try..except or try..finally statements
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_NESTED_SUBROUTINES=Functions with yield cannot contain nested subrotines or be nested
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_LOCAL_TYPE_DEFINITIONS=Functions with yield cannot contain local type definitions
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_INHERITED_CALLS=Functions with yield cannot contain calls of inherited methods
YIELDS_INSIDE_WITH_ARE_ILLEGAL=with statement cannot contain yields
YIELDSEQUENCES_INSIDE_WITH_ARE_ILLEGAL=with statement cannot contain yield sequence
LAMBDA_EXPRESSIONS_CANNOT_CONTAIN_YIELD=Lambda-expressions cannot contain yields
PATTERN_MATHING_IS_NOT_SUPPORTED_IN_THIS_CONTEXT=Pattern matching is not supported in this context
ONLY_ONE_DECONSTRUCT_ALLOWED=Only one user deconstructor is allowed
Var_{0}_is_already_defined=Variable {0} is already defined
?._CANNOT_BE_IN_THIS_CONTEXT=Operator ?. cannot be in this context