13 lines
488 B
Plaintext
13 lines
488 B
Plaintext
|
|
// NewExtractBox — Stage‑1 JSON から Return(New class(args...)) を抽出(整数引数のみ)
|
|||
|
|
// Delegation to Stage1IntArgsExtractBox (unified implementation)
|
|||
|
|
using "lang/src/compiler/pipeline_v2/stage1_int_args_extract_box.hako" as Unified
|
|||
|
|
|
|||
|
|
static box NewExtractBox {
|
|||
|
|
// Returns { class: String, args: [Int,...] } or null
|
|||
|
|
extract_return_new_ints(ast_json) {
|
|||
|
|
return Unified.extract_return_new_ints(ast_json)
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
static box NewExtractStub { main(args) { return 0 } }
|