Uses of Interface
io.jawk.jrt.InputSource
Packages that use InputSource
-
Uses of InputSource in io.jawk
Methods in io.jawk with parameters of type InputSourceModifier and TypeMethodDescriptionAwk.eval(AwkExpression expression, InputSource source) Evaluates a compiled expression against one structured record source using a fresh isolated runtime.Awk.eval(String expression, InputSource source) Awk.AwkRunBuilder.input(InputSource source) Sets a structuredInputSourceto process.Awk.prepareEval(InputSource source) Prepares the first available record from a structuredInputSourcefor repeated expression evaluation and returns the mutableAVMthat will execute those expressions. -
Uses of InputSource in io.jawk.backend
Methods in io.jawk.backend with parameters of type InputSourceModifier and TypeMethodDescriptionAVM.eval(AwkExpression expression, InputSource inputSource) Evaluates a compiled expression against the supplied input source.AVM.eval(AwkExpression expression, InputSource inputSource, Map<String, Object> variableOverrides) Evaluates a compiled expression against the supplied input source with per-call variable overrides.voidAVM.execute(AwkProgram program, InputSource inputSource) Executes a compiled AWK program with the current runtime defaults.voidAVM.execute(AwkProgram program, InputSource inputSource, List<String> runtimeArguments) Executes a compiled AWK program with explicit runtime arguments.voidAVM.execute(AwkProgram program, InputSource inputSource, List<String> runtimeArguments, Map<String, Object> variableOverrides) Executes a compiled AWK program with explicit runtime arguments and variable overrides.voidAVM.executePersistingGlobals(AwkProgram program, InputSource inputSource) Executes a compiled AWK program while persisting user-defined global variables across repeated executions on this AVM instance.voidAVM.executePersistingGlobals(AwkProgram program, InputSource inputSource, List<String> runtimeArguments) Executes a compiled AWK program while persisting user-defined global variables across repeated executions on this AVM instance.voidAVM.executePersistingGlobals(AwkProgram program, InputSource inputSource, List<String> runtimeArguments, Map<String, Object> variableOverrides) Executes a compiled AWK program while persisting user-defined global variables across repeated executions on this AVM instance.booleanAVM.prepareForEval(InputSource inputSource) Resets the interpreter to a fresh eval state and binds at most one record from the provided input source as the current input. -
Uses of InputSource in io.jawk.jrt
Classes in io.jawk.jrt that implement InputSourceModifier and TypeClassDescriptionclassAnInputSourcethat reads records from anInputStream, traversing theARGVarray to open filenames and applyname=valuevariable assignments exactly like the classic AWK command-line flow.Methods in io.jawk.jrt with parameters of type InputSourceModifier and TypeMethodDescriptionbooleanJRT.consumeInput(InputSource source) Attempt to consume one record from a structured input source and expose it as the current input record.booleanJRT.consumeInputForEval(InputSource source) Consume at most one record from a structured source for expression evaluation.JRT.consumeInputToTarget(InputSource source) Attempt to consume one record from a structured input source forgetline target, returning only the input text and leaving the current input record state untouched.