首页>
外国专利>
Efficient computation of line information in a token-oriented representation of program code
Efficient computation of line information in a token-oriented representation of program code
展开▼
机译:程序代码的面向令牌表示中的行信息的高效计算
展开▼
页面导航
摘要
著录项
相似文献
摘要
An editor, software engineering tool or collection of such tools may be configured to encode (or employ an encoding of) an insertion point representation that identifies a particular token of a token-oriented representation and offset thereinto, together with at least some line-oriented coordinates. Efficient implementations of insert and remove operations that employ such a representation are described herein. Computational costs of such operations typically scale at worst with the size of fragments inserted into and/or removed from such a token-oriented representation, rather than with buffer size. Accordingly, such implementations are particularly well-suited to providing efficient support for programming tool environments in which a token stream is updated incrementally in correspondence with user edits.
展开▼