Package org.quorum.vm.interfaces

Examples of org.quorum.vm.interfaces.CompilerError


                    vm.getCompilerErrors().iterator(file.getAbsolutePath());
            Document document = result.getSnapshot().getSource().getDocument(false);
            List<ErrorDescription> nbErrors = new ArrayList<ErrorDescription>();
            while(errors.hasNext()) {
                ErrorDescription errorDescription;
                CompilerError error = errors.next();
                errorDescription = ErrorDescriptionFactory.createErrorDescription(
                        Severity.ERROR, error.getError(),
                        document,
                        error.getLineNumber());
                nbErrors.add(errorDescription);
            }
            HintsController.setErrors(document, "quorum", nbErrors);
        } catch (Exception ex) { //there's really no point to logging these
        }
View Full Code Here


        return errors.hasNext();
    }

    public CompilerErrorDescriptor next() {
        CompilerErrorDescriptorNode var = new CompilerErrorDescriptorNode(Children.LEAF);
        CompilerError obj = errors.next();
        var.setCompilerError(obj);
        return var;
    }
View Full Code Here

TOP

Related Classes of org.quorum.vm.interfaces.CompilerError

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.