Files
codecraft/src/main/java/com/aranroig/docs/ParamDoc.java
2026-10-06 17:59:26 +02:00

13 lines
469 B
Java

package com.aranroig.docs;
/**
* One parameter of a documented Lua function.
*
* @param name parameter name as written in the signature, e.g. {@code "block"}
* @param type short type name shown to the user, e.g. {@code "string"} or {@code "number"}
* @param optional whether the parameter may be omitted
* @param description what the parameter means
*/
public record ParamDoc(String name, String type, boolean optional, String description) {
}