Package com.asakusafw.dmdl

Examples of com.asakusafw.dmdl.Region


    private Region computeRegion() {
        assert exception != null;
        assert parser != null;
        Token token = parser.getToken(1);
        if (token != null && token.kind != EOF) {
            return new Region(
                    parser.getSourceFile(),
                    token.beginLine, token.beginColumn,
                    token.endLine, token.endColumn);
        }
        return new Region(parser.getSourceFile(), 0, 0, 0, 0);
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.dmdl.Region

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.