comparison truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java @ 21972:ff6f34159b8a

Providing package-info for most of API packages. Feel free to provide your package-info.java for anything that has API in its name.
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Tue, 23 Jun 2015 12:44:41 +0200
parents 5023b913e2ba
children b2d1c8ff592a
comparison
equal deleted inserted replaced
21971:60d7d22f9c56 21972:ff6f34159b8a
648 return new DefaultSourceSection(this, identifier, startLine, startColumn, charIndex, length); 648 return new DefaultSourceSection(this, identifier, startLine, startColumn, charIndex, length);
649 } 649 }
650 650
651 /** 651 /**
652 * Creates a representation of a contiguous region of text in the source. Computes the 652 * Creates a representation of a contiguous region of text in the source. Computes the
653 * {@code charIndex} value by building a {@linkplain TextMap map} of lines in the source. 653 * {@code charIndex} value by building a {@code TextMap map} of lines in the source.
654 * <p> 654 * <p>
655 * Checks the position arguments for consistency with the source. 655 * Checks the position arguments for consistency with the source.
656 * <p> 656 * <p>
657 * The resulting representation defines hash/equality around equivalent location, presuming that 657 * The resulting representation defines hash/equality around equivalent location, presuming that
658 * {@link Source} representations are canonical. 658 * {@link Source} representations are canonical.
674 return new DefaultSourceSection(this, identifier, startLine, startColumn, startOffset, length); 674 return new DefaultSourceSection(this, identifier, startLine, startColumn, startOffset, length);
675 } 675 }
676 676
677 /** 677 /**
678 * Creates a representation of a contiguous region of text in the source. Computes the 678 * Creates a representation of a contiguous region of text in the source. Computes the
679 * {@code (startLine, startColumn)} values by building a {@linkplain TextMap map} of lines in 679 * {@code (startLine, startColumn)} values by building a {@code TextMap map} of lines in the
680 * the source. 680 * source.
681 * <p> 681 * <p>
682 * Checks the position arguments for consistency with the source. 682 * Checks the position arguments for consistency with the source.
683 * <p> 683 * <p>
684 * The resulting representation defines hash/equality around equivalent location, presuming that 684 * The resulting representation defines hash/equality around equivalent location, presuming that
685 * {@link Source} representations are canonical. 685 * {@link Source} representations are canonical.