Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/interface/IIntegrityToolingV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ interface IIntegrityToolingV1 {
/// Declared `view` so an implementation may read storage or an immutable to
/// build its answer. A `pure` implementation still conforms, as an override
/// may only tighten mutability.
/// @return Every two bytes is a function pointer for an integrity check,
/// positionally indexed by opcode.
function buildIntegrityFunctionPointers() external view returns (bytes memory);
}
2 changes: 2 additions & 0 deletions src/interface/IOpcodeToolingV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ interface IOpcodeToolingV1 {
/// Declared `view` so an implementation may read storage or an immutable to
/// build its answer. A `pure` implementation still conforms, as an override
/// may only tighten mutability.
/// @return Every two bytes is a function pointer for an opcode
/// implementation, positionally indexed by opcode.
function buildOpcodeFunctionPointers() external view returns (bytes memory);
}
4 changes: 4 additions & 0 deletions src/interface/IParserToolingV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ interface IParserToolingV1 {
/// Declared `view` so an implementation may read storage or an immutable to
/// build its answer. A `pure` implementation still conforms, as an override
/// may only tighten mutability.
/// @return Every two bytes is a function pointer for an operand handler,
/// positionally indexed to match the parse meta.
function buildOperandHandlerFunctionPointers() external view returns (bytes memory);

/// Builds literal parser function pointers.
Expand All @@ -31,5 +33,7 @@ interface IParserToolingV1 {
/// Declared `view` so an implementation may read storage or an immutable to
/// build its answer. A `pure` implementation still conforms, as an override
/// may only tighten mutability.
/// @return Every two bytes is a function pointer for a literal parser,
/// dispatched on the first byte(s) of the literal.
function buildLiteralParserFunctionPointers() external view returns (bytes memory);
}
2 changes: 2 additions & 0 deletions src/interface/ISubParserToolingV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ interface ISubParserToolingV1 {
/// Declared `view` so an implementation may read storage or an immutable to
/// build its answer. A `pure` implementation still conforms, as an override
/// may only tighten mutability.
/// @return Every two bytes is a function pointer for a sub parser word
/// parser, positionally indexed to match the parse meta.
function buildSubParserWordParsers() external view returns (bytes memory);
}
Loading