Package editor
Class TypeNameValidator
java.lang.Object
editor.TypeNameValidator
- All Implemented Interfaces:
IGosuValidator
Checks that the source is the name of a type which is assignable to a given type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTypeNameValidator(IType expectedType) TypeNameValidator(IType expectedType, ITypeUsesMap typeUsesMap) -
Method Summary
-
Field Details
-
_expectedType
-
_typeUsesMap
-
-
Constructor Details
-
TypeNameValidator
-
TypeNameValidator
-
-
Method Details
-
validate
Description copied from interface:IGosuValidatorProvides additional semantic checks to a Gosu parser- Specified by:
validatein interfaceIGosuValidator- Parameters:
rootParsedElement- - the root parsed element to validate from
-
getType
-