public interface IASWarningConstants
Modifier and Type | Field and Description |
---|---|
static int |
ARRAY_TO_STRING_CHANGES
Array.toString() format has changed. |
static int |
ASSIGNMENT_WITHIN_CONDITIONAL
Assignment within conditional.
|
static int |
BAD_ARRAY_CAST
Possibly invalid Array cast operation.
|
static int |
BAD_BOOLEAN_ASSIGNMENT
Non-Boolean value used where a
Boolean value was expected. |
static int |
BAD_DATE_CAST
Invalid
Date cast operation. |
static int |
BAD_ES3_TYPE_METHOD
Unknown method.
|
static int |
BAD_ES3_TYPE_PROP
Unknown property.
|
static int |
BAD_NAN_COMPARISON
Illogical comparison with
NaN . |
static int |
BAD_NULL_ASSIGNMENT
Impossible assignment to
null . |
static int |
BAD_NULL_COMPARISON
Illogical comparison with
null . |
static int |
BAD_UNDEFINED_COMPARISON
Illogical comparison with
undefined . |
static int |
BOOLEAN_CONSTRUCTOR_WITH_NO_ARGS
Boolean() with no arguments returns false in ActionScript 3.0. |
static int |
CHANGES_IN_RESOLVE
__resolve is deprecated. |
static int |
CLASS_IS_SEALED
Class is sealed. |
static int |
CONST_NOT_INITIALIZED
Constant not initialized.
|
static int |
CONSTRUCTOR_RETURNS_VALUE
Function used in new expression returns a value.
|
static int |
DEPRECATED_EVENT_HANDLER_ERROR
EventHandler was not added as a listener.
|
static int |
DEPRECATED_FUNCTION_ERROR
Unsupported ActionScript 2.0 function.
|
static int |
DEPRECATED_PROPERTY_ERROR
Unsupported ActionScript 2.0 property.
|
static int |
DUPLICATE_ARGUMENT_NAMES
More than one argument by the same name.
|
static int |
DUPLICATE_VARIABLE_DEF
Duplicate variable definition
|
static int |
FOR_VAR_IN_CHANGES
ActionScript 3.0 iterates over an object's properties within a "
for x in target " statement in random order. |
static int |
IMPORT_HIDES_CLASS
Importing a package by the same name as the current class will hide that class identifier in this scope.
|
static int |
INSTANCEOF_CHANGES
Use of the
instanceof operator. |
static int |
INTERNAL_ERROR
Internal error in compiler.
|
static int |
LEVEL_NOT_SUPPORTED
_level is no longer supported. |
static int |
MISSING_NAMESPACE_DECL
Missing namespace declaration (e.g. variable is not defined to be
public , private , etc.). |
static int |
NEGATIVE_UINT_LITERAL
Negative value will become a large positive value when assigned to a
uint data type. |
static int |
NO_CONSTRUCTOR
Missing constructor.
|
static int |
NO_EXPLICIT_SUPER_CALL_IN_CONSTRUCTOR
The
super() statement was not called within the constructor. |
static int |
NO_TYPE_DECL
Missing type declaration.
|
static int |
NUMBER_FROM_STRING_CHANGES
In ActionScript 3.0, white space is ignored and
'' returns 0 . |
static int |
SCOPING_CHANGE_IN_THIS
Change in scoping for the
this keyword. |
static int |
SLOW_TEXTFIELD_ADDITION
Inefficient use of
+= on a TextField . |
static int |
UNLIKELY_FUNCTION_VALUE
Possible missing parentheses.
|
static int |
XML_CLASS_HAS_CHANGED
Possible usage of the ActionScript 2.0
XML class. |
static final int ARRAY_TO_STRING_CHANGES
Array.toString()
format has changed.static final int ASSIGNMENT_WITHIN_CONDITIONAL
static final int BAD_ARRAY_CAST
static final int BAD_BOOLEAN_ASSIGNMENT
Boolean
value was expected.static final int BAD_DATE_CAST
Date
cast operation.static final int BAD_ES3_TYPE_METHOD
static final int BAD_ES3_TYPE_PROP
static final int BAD_NAN_COMPARISON
NaN
. Any comparison operation involving NaN
will evaluate to false
because NaN != NaN
.static final int BAD_NULL_ASSIGNMENT
null
.static final int BAD_NULL_COMPARISON
null
.static final int BAD_UNDEFINED_COMPARISON
undefined
. Only untyped variables (or variables of type *
) can be undefined
.static final int BOOLEAN_CONSTRUCTOR_WITH_NO_ARGS
Boolean()
with no arguments returns false
in ActionScript 3.0.
Boolean()
returned undefined
in ActionScript 2.0.static final int CHANGES_IN_RESOLVE
__resolve
is deprecated.static final int CLASS_IS_SEALED
Class
is sealed. It cannot have members added to it dynamically.static final int CONST_NOT_INITIALIZED
static final int CONSTRUCTOR_RETURNS_VALUE
static final int DEPRECATED_EVENT_HANDLER_ERROR
static final int DEPRECATED_FUNCTION_ERROR
static final int DEPRECATED_PROPERTY_ERROR
static final int DUPLICATE_ARGUMENT_NAMES
static final int DUPLICATE_VARIABLE_DEF
static final int FOR_VAR_IN_CHANGES
for x in target
" statement in random order.static final int IMPORT_HIDES_CLASS
static final int INSTANCEOF_CHANGES
instanceof
operator.static final int INTERNAL_ERROR
static final int LEVEL_NOT_SUPPORTED
_level
is no longer supported. For more information, see the flash.display
package.static final int MISSING_NAMESPACE_DECL
public
, private
, etc.).static final int NEGATIVE_UINT_LITERAL
uint
data type.static final int NO_CONSTRUCTOR
static final int NO_EXPLICIT_SUPER_CALL_IN_CONSTRUCTOR
super()
statement was not called within the constructor.static final int NO_TYPE_DECL
static final int NUMBER_FROM_STRING_CHANGES
''
returns 0
.
Number()
returns NaN
in ActionScript 2.0 when the parameter is ''
or contains white space.static final int SCOPING_CHANGE_IN_THIS
this
keyword.
Class methods extracted from an instance of a class will always resolve this
back to that instance.
In ActionScript 2.0, this
is looked up dynamically based on where the method is invoked from.static final int SLOW_TEXTFIELD_ADDITION
+=
on a TextField
.static final int UNLIKELY_FUNCTION_VALUE
static final int XML_CLASS_HAS_CHANGED
XML
class.Copyright © 2016 The Apache Software Foundation. All rights reserved.