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.advanceToNextFile(InputSource source) Advance the main input to the next input file, applying pendingname=valuecommand-line assignments along the way.booleanJRT.consumeCurrentFileInput(InputSource source) Attempt to consume one record from the current input file only, without ever advancing to the next input file.JRT.consumeCurrentFileInputToTarget(InputSource source) Attempt to consume one record of the current input file only forgetline target, returning the input value and leaving the current input record state untouched.booleanJRT.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 the input value and leaving the current input record state untouched.booleanJRT.hasPendingInputFileError(InputSource source) Returns whether the current input file of the given source failed to open, leaving a pending error that only anextfilestatement in a BEGINFILE rule may bypass.