Class RuntimeScanf
java.lang.Object
io.github.protasm.jvmud.compiler.runtime.RuntimeScanf
Runtime support for LPC sscanf-style output captures.
-
Method Summary
-
Method Details
-
scan
Matches an LPCsscanfformat at the start of an input value.A successful match need not consume the entire input. A final
%scapture does, however, receive the remaining input while earlier string captures remain minimal.- Parameters:
inputValue- value to scanformatValue- LPCsscanfformatcaptureCount- number of output captures supplied by the caller- Returns:
- the match count followed by the captured values
-