You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CodeAPI-BytecodeWriter provides a way to generate line numbers based on CodeSource index. To help to find out the CodePart that causes the error, we should provide a findLine utility method for CodeSource.
Usage example:
valcodeSource = CodeAPI.sourceOfParts(
a, // 0b, // 1CodeAPI.sourceOfParts(
c, // 2d// 3
)
)
CodeSourceUtil.findLine(3, codeSource) // d
The text was updated successfully, but these errors were encountered:
CodeAPI-BytecodeWriter provides a way to generate line numbers based on CodeSource index. To help to find out the
CodePart
that causes the error, we should provide afindLine
utility method forCodeSource
.Usage example:
The text was updated successfully, but these errors were encountered: