Class AreaTypeComputer

    • Constructor Detail

      • AreaTypeComputer

        public AreaTypeComputer()
    • Method Detail

      • order

        public int order()
        Description copied from interface: TypeComputer
        Order of call to compute string literal type.
        Specified by:
        order in interface TypeComputer
        Returns:
        the order of call
      • validate

        public org.eclipse.core.runtime.IStatus validate​(StringLiteral literal,
                                                         List<String> content,
                                                         org.eclipse.xtext.util.CancelIndicator monitor)
        Description copied from interface: TypeValidator
        Checks that content of string literal is valid for the declared content type.
        Specified by:
        validate in interface TypeValidator
        Parameters:
        literal - the string literal, cannot be null.
        content - the content of lines of the string literal, cannot be null.
        monitor - the monitor to check cancel status, cannot be null.
        Returns:
        the status of validation, cannot return null.