Serialized Form
-
Package io.jawk
-
Class io.jawk.AwkExpression
class AwkExpression extends AwkTuples implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.AwkProgram
class AwkProgram extends AwkTuples implements Serializable- serialVersionUID:
- 1L
-
Exception io.jawk.AwkSandboxException
class AwkSandboxException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Exception io.jawk.ExitException
class ExitException extends Exception implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
code
int code
The exit code being returned
-
-
Error io.jawk.NotImplementedError
class NotImplementedError extends Error implements Serializable- serialVersionUID:
- 1L
-
-
Package io.jawk.ext
-
Class io.jawk.ext.ExtensionFunction
class ExtensionFunction extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialization Methods
-
readObject
Restores the reflectiveMethodhandle after Java deserialization.- Parameters:
in- Object stream containing the serialized metadata- Throws:
IOException- If the stream cannot be readClassNotFoundException- If a serialized dependency cannot be resolved
-
-
Serialized Fields
-
assocArrayParameters
boolean[] assocArrayParameters
Flags describing which parameters must receive associative arrays. -
declaringType
Class<? extends AbstractExtension> declaringType
Extension type declaring the Java implementation method. -
keyword
String keyword
AWK-visible keyword that dispatches to the underlying Java method. -
mandatoryParameterCount
int mandatoryParameterCount
Number of non-vararg parameters that must always be present. -
methodName
String methodName
Name of the Java method used when rehydrating serialized metadata. -
parameterTypes
Class<?>[] parameterTypes
Java parameter types of the extension method. -
varArgAssocArray
boolean varArgAssocArray
Whether the vararg component type must be an associative array. -
varArgs
boolean varArgs
Whether the underlying Java method accepts varargs.
-
-
Class io.jawk.ext.GawkBool
class GawkBool extends Number implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
value
boolean value
Boolean this number carries;1when true,0when false.
-
-
-
Package io.jawk.frontend
-
Exception io.jawk.frontend.AwkParser.AST.SemanticException
class SemanticException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
-
Package io.jawk.frontend.ast
-
Exception io.jawk.frontend.ast.LexerException
class LexerException extends IOException implements Serializable- serialVersionUID:
- 1L
-
Exception io.jawk.frontend.ast.ParserException
class ParserException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
-
Package io.jawk.intermediate
-
Class io.jawk.intermediate.Address
class Address extends Object implements Serializable- serialVersionUID:
- 109610985341478678L
-
Serialized Fields
-
idx
int idx
Tuple index currently bound to this address, or-1when unresolved. -
lbl
String lbl
Human-readable label used when rendering or debugging this address.
-
-
Class io.jawk.intermediate.AwkTuples
class AwkTuples extends Object implements Serializable- serialVersionUID:
- 7L
-
Serialized Fields
-
addressManager
io.jawk.intermediate.AddressManager addressManager
Address manager -
endFileAddress
Address endFileAddress
Address of the ENDFILE section, ornullwhen the program has no BEGINFILE/ENDFILE rules. -
evalTupleStream
boolean evalTupleStream
Whether this tuple stream was produced bycompileExpression(). -
exitAddress
Address exitAddress
Address of the END blocks section, where a runtimeexitjumps;nullfor expression streams. Property addresses are remapped explicitly by the optimizer and seeded as reachability roots, so they stay valid even when no tuple references them. -
functionNames
Set<String> functionNames
List of user function names -
globalVarAarrayMap
Map<String,
Boolean> globalVarAarrayMap Map of global arrays -
globalVarOffsetMap
Map<String,
Integer> globalVarOffsetMap Map of global variables offsets -
linenoStack
Deque<Integer> linenoStack
linenumber stack ... -
metadataFrozen
boolean metadataFrozen
Whether metadata collections are frozen for execution. -
nextAddress
Address nextAddress
Address of the main input loop's next-record entry point, where a runtimenextstatement executed from a user-defined function resumes;nullwhen the program has no main input loop. -
nextFileAddress
Address nextFileAddress
Address of theNEXT_FILEtuple that opens each input file, ornullwhen the program does not use per-file input stepping. -
optimized
boolean optimized
Whether optimization passes have already been applied. -
postProcessed
boolean postProcessed
Whether tuple post-processing has already been applied. -
queue
List<Tuple> queue
The tuple queue intentionally uses anArrayList. The address mapping logic stores tuple indexes (rather than node references) so that jump targets can be serialized and patched efficiently. A linked list would make every lookup O(n) and complicate address reassignment. -
sourceDescription
String sourceDescription
Description of the primary script source, used for runtime diagnostics.
-
-
Class io.jawk.intermediate.SandboxedAwkTuples
class SandboxedAwkTuples extends AwkTuples implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.Tuple
class Tuple extends Object implements Serializable- serialVersionUID:
- 8105941219003992817L
-
Class io.jawk.intermediate.Tuple.AddressTuple
class AddressTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
address
Address address
Jump target, repointed by the optimizer when tuples move.
-
-
Class io.jawk.intermediate.Tuple.BooleanTuple
class BooleanTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
value
boolean value
Boolean operand of the opcode.
-
-
Class io.jawk.intermediate.Tuple.BuiltinVarTuple
class BuiltinVarTuple extends Tuple.NoOperandTuple implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.Tuple.CallFunctionTuple
class CallFunctionTuple extends Tuple.AddressTuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
functionName
String functionName
Name of the called function. -
numActualParams
long numActualParams
Number of arguments this call site evaluates. -
numFormalParams
long numFormalParams
Number of formal parameters the called function declares.
-
-
Class io.jawk.intermediate.Tuple.ClassTuple
class ClassTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
type
Class<?> type
Runtime type the checked value must be an instance of.
-
-
Class io.jawk.intermediate.Tuple.CompoundAssignArrayTuple
class CompoundAssignArrayTuple extends Tuple.VariableTuple implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.Tuple.CompoundAssignInputFieldTuple
class CompoundAssignInputFieldTuple extends Tuple.NoOperandTuple implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.Tuple.CompoundAssignMapElementTuple
class CompoundAssignMapElementTuple extends Tuple.NoOperandTuple implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.Tuple.CompoundAssignTuple
class CompoundAssignTuple extends Tuple.VariableTuple implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.Tuple.CountAndAppendTuple
class CountAndAppendTuple extends Tuple.CountTuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
append
boolean append
truewhen the redirection appends instead of truncating.
-
-
Class io.jawk.intermediate.Tuple.CountTuple
class CountTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
count
long count
Count operand of the opcode.
-
-
Class io.jawk.intermediate.Tuple.DereferenceTuple
class DereferenceTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
array
boolean array
truewhen the variable must be initialized as an array. -
global
boolean global
truewhen the offset addresses the global frame. -
variableOffset
long variableOffset
Offset of the variable within its frame.
-
-
Class io.jawk.intermediate.Tuple.ExtensionTuple
class ExtensionTuple extends Tuple implements Serializable- serialVersionUID:
- 2L
-
Serialized Fields
-
argCount
long argCount
Number of arguments passed to the extension function. -
function
ExtensionFunction function
Extension function this tuple invokes.
-
-
Class io.jawk.intermediate.Tuple.FunctionTuple
class FunctionTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
functionName
String functionName
Name of the function being defined. -
numFormalParams
long numFormalParams
Number of formal parameters the function declares.
-
-
Class io.jawk.intermediate.Tuple.IndirectCallTuple
class IndirectCallTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
extensionFunctions
Map<String,
ExtensionFunction> extensionFunctions Extension functions the call site may resolve to, by name. -
numActualParams
long numActualParams
Number of arguments this call site evaluates. -
sourceLine
int sourceLine
Script source line this call site comes from, for runtime diagnostics. -
sourceName
String sourceName
Script source name this call site comes from, for runtime diagnostics. -
userFunctions
Map<String,
Tuple.IndirectFunctionTarget> userFunctions User-defined functions the call site may resolve to, by name.
-
-
Class io.jawk.intermediate.Tuple.IndirectFunctionTarget
class IndirectFunctionTarget extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
address
Address address
Function entry point, resolved from the supplier on first access. -
arrayParameterIndexes
Set<Integer> arrayParameterIndexes
Zero-based indexes of the formal parameters that are arrays. -
numFormalParams
long numFormalParams
Number of formal parameters the target function declares.
-
-
Class io.jawk.intermediate.Tuple.InputFieldTuple
class InputFieldTuple extends Tuple.LongTuple implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.Tuple.LongTuple
class LongTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
value
long value
Long operand, interpreted by the opcode rather than by this tuple.
-
-
Class io.jawk.intermediate.Tuple.NoOperandTuple
class NoOperandTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.Tuple.PushDoubleTuple
class PushDoubleTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
value
double value
Literal double value pushed onto the operand stack.
-
-
Class io.jawk.intermediate.Tuple.PushLongTuple
class PushLongTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
value
long value
Literal long value pushed onto the operand stack.
-
-
Class io.jawk.intermediate.Tuple.PushStringTuple
class PushStringTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
value
String value
Literal string value pushed onto the operand stack.
-
-
Class io.jawk.intermediate.Tuple.RegexTuple
class RegexTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.Tuple.ScalarPopTuple
class ScalarPopTuple extends Tuple.NoOperandTuple implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.Tuple.SubstitutionVariableTuple
class SubstitutionVariableTuple extends Tuple.VariableTuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
globalSubstitution
boolean globalSubstitution
trueforgsub,falseforsub.
-
-
Class io.jawk.intermediate.Tuple.VariableTuple
class VariableTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
global
boolean global
truewhen the offset addresses the global frame. -
variableOffset
long variableOffset
Offset of the variable within its frame.
-
-
Class io.jawk.intermediate.Tuple.WarningTuple
class WarningTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
message
String message
Diagnostic text printed to the warning stream.
-
-
Class io.jawk.intermediate.UninitializedObject
class UninitializedObject extends Object implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.UntypedObject
class UntypedObject extends UninitializedObject implements Serializable- serialVersionUID:
- 1L
-
-
Package io.jawk.jrt
-
Exception io.jawk.jrt.AwkRuntimeException
class AwkRuntimeException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
lineNumber
int lineNumber
Source line associated with the failure, or-1when unknown.
-
-
Exception io.jawk.jrt.EndException
class EndException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.jrt.HashAssocArray
- serialVersionUID:
- 1L
-
Exception io.jawk.jrt.IllegalAwkArgumentException
class IllegalAwkArgumentException extends IllegalArgumentException implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.jrt.ListAssocArray
class ListAssocArray extends HashAssocArray implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.jrt.SortedAssocArray
- serialVersionUID:
- 1L
-