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.
-
-
-
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:
- 2L
-
Serialized Fields
-
addressManager
io.jawk.intermediate.AddressManager addressManager
Address manager -
evalTupleStream
boolean evalTupleStream
Whether this tuple stream was produced bycompileExpression(). -
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. -
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.
-
-
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
-
-
Class io.jawk.intermediate.Tuple.BooleanTuple
class BooleanTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
value
boolean value
-
-
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
-
numActualParams
long numActualParams
-
numFormalParams
long numFormalParams
-
-
Class io.jawk.intermediate.Tuple.ClassTuple
class ClassTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
type
Class<?> type
-
-
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
-
-
Class io.jawk.intermediate.Tuple.CountTuple
class CountTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
count
long count
-
-
Class io.jawk.intermediate.Tuple.DereferenceTuple
class DereferenceTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
array
boolean array
-
global
boolean global
-
variableOffset
long variableOffset
-
-
Class io.jawk.intermediate.Tuple.ExtensionTuple
class ExtensionTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
argCount
long argCount
-
function
ExtensionFunction function
-
initial
boolean initial
-
-
Class io.jawk.intermediate.Tuple.FunctionTuple
class FunctionTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
functionName
String functionName
-
numFormalParams
long numFormalParams
-
-
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
-
-
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
-
-
Class io.jawk.intermediate.Tuple.PushLongTuple
class PushLongTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
value
long value
-
-
Class io.jawk.intermediate.Tuple.PushStringTuple
class PushStringTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
value
String value
-
-
Class io.jawk.intermediate.Tuple.RegexTuple
class RegexTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Class io.jawk.intermediate.Tuple.SubstitutionVariableTuple
class SubstitutionVariableTuple extends Tuple.VariableTuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
globalSubstitution
boolean globalSubstitution
-
-
Class io.jawk.intermediate.Tuple.VariableTuple
class VariableTuple extends Tuple implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
global
boolean global
-
variableOffset
long variableOffset
-
-
Class io.jawk.intermediate.UninitializedObject
class UninitializedObject extends Object 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
-