Package | Description |
---|---|
com.tameif.tame |
Base package.
|
com.tameif.tame.element.context |
Contains context and state data for a TAME context.
|
com.tameif.tame.factory |
Objects for creating structures.
|
com.tameif.tame.lang |
Contains linguistic abstraction classes.
|
Modifier and Type | Method and Description |
---|---|
static TAMEModule |
TAMEModule.create(java.io.InputStream in)
Reads a module from binary content.
|
TAMEModule |
TAMEModuleContext.getModule()
Gets the encapsulated module.
|
Constructor and Description |
---|
TAMEModuleContext(TAMEModule module)
Creates a new module context.
|
Modifier and Type | Method and Description |
---|---|
void |
TElementContext.readStateBytes(TAMEModule module,
java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in) |
void |
TOwnershipMap.readStateBytes(TAMEModule module,
java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in) |
void |
TElementContext.writeStateBytes(TAMEModule module,
java.util.concurrent.atomic.AtomicLong referenceCounter,
java.util.Map<java.lang.Object,java.lang.Long> referenceSet,
java.io.OutputStream out) |
void |
TOwnershipMap.writeStateBytes(TAMEModule module,
java.util.concurrent.atomic.AtomicLong referenceCounter,
java.util.Map<java.lang.Object,java.lang.Long> referenceSet,
java.io.OutputStream out) |
Modifier and Type | Method and Description |
---|---|
static TAMEModule |
TAMEScriptReader.read(java.io.File file)
Reads TAMEModule objects into a new module from a starting text file.
|
static TAMEModule |
TAMEScriptReader.read(java.io.File file,
TAMEScriptIncluder includer)
Reads TAMEModule objects into a new module from a starting text file.
|
static TAMEModule |
TAMEScriptReader.read(java.io.File file,
TAMEScriptReaderOptions options)
Reads TAMEModule objects into a new module from a starting text file.
|
static TAMEModule |
TAMEScriptReader.read(java.io.File file,
TAMEScriptReaderOptions options,
TAMEScriptIncluder includer)
Reads TAMEModule objects into a new module from a starting text file.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String text)
Reads TAMEModule objects from a String of text into a new module.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String text,
TAMEScriptIncluder includer)
Reads TAMEModule objects from a String of text into a new module.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String text,
TAMEScriptReaderOptions options)
Reads TAMEModule objects from a String of text into a new module.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String text,
TAMEScriptReaderOptions options,
TAMEScriptIncluder includer)
Reads TAMEModule objects from a String of text into a new module.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String streamName,
java.io.InputStream in)
Reads TAMEModule objects into a new module.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String streamName,
java.io.InputStream in,
TAMEScriptIncluder includer)
Reads TAMEModule objects into a new module.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String streamName,
java.io.InputStream in,
TAMEScriptReaderOptions options)
Reads TAMEModule objects into a new module.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String streamName,
java.io.InputStream in,
TAMEScriptReaderOptions options,
TAMEScriptIncluder includer)
Reads TAMEModule objects into a new module.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String streamName,
java.lang.String text)
Reads TAMEModule objects from a String of text into a new module.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String streamName,
java.lang.String text,
TAMEScriptIncluder includer)
Reads TAMEModule objects from a String of text into a new module.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String streamName,
java.lang.String text,
TAMEScriptReaderOptions options)
Reads TAMEModule objects from a String of text into a new module.
|
static TAMEModule |
TAMEScriptReader.read(java.lang.String streamName,
java.lang.String text,
TAMEScriptReaderOptions options,
TAMEScriptIncluder includer)
Reads TAMEModule objects from a String of text into a new module.
|
Modifier and Type | Method and Description |
---|---|
static void |
TAMEJSExporter.export(java.io.File file,
TAMEModule module)
Exports a TAME Module to a stand-alone JavaScript module with default options.
|
static void |
TAMEJSExporter.export(java.io.File file,
TAMEModule module,
TAMEJSExporterOptions options)
Exports a TAME Module to a stand-alone JavaScript module.
|
static void |
TAMEJSExporter.export(java.io.OutputStream out,
TAMEModule module)
Exports a TAME Module to a stand-alone JavaScript module.
|
static void |
TAMEJSExporter.export(java.io.OutputStream out,
TAMEModule module,
TAMEJSExporterOptions options)
Exports a TAME Module to a stand-alone JavaScript module.
|
static void |
TAMEJSExporter.export(java.io.Writer writer,
TAMEModule module)
Exports a TAME Module to a stand-alone JavaScript module.
|
static void |
TAMEJSExporter.export(java.io.Writer writer,
TAMEModule module,
TAMEJSExporterOptions options)
Exports a TAME Module to a stand-alone JavaScript module.
|
static java.lang.String |
TAMEJSExporter.exportToString(TAMEModule module)
Exports a TAME Module to a stand-alone JavaScript module with default options.
|
static java.lang.String |
TAMEJSExporter.exportToString(TAMEModule module,
TAMEJSExporterOptions options)
Exports a TAME Module to a stand-alone JavaScript module.
|
Modifier and Type | Method and Description |
---|---|
default void |
StateSaveable.fromStateBytes(TAMEModule module,
java.util.Map<java.lang.Long,Value> referenceMap,
byte[] data)
Reads this object's state representation from a byte array.
|
void |
StateSaveable.readStateBytes(TAMEModule module,
java.util.Map<java.lang.Long,Value> referenceMap,
java.io.InputStream in)
Imports this object's state from bytes.
|
default byte[] |
StateSaveable.toStateBytes(TAMEModule module,
java.util.concurrent.atomic.AtomicLong referenceCounter,
java.util.Map<java.lang.Object,java.lang.Long> referenceSet)
Gets this object's state representation as bytes.
|
void |
StateSaveable.writeStateBytes(TAMEModule module,
java.util.concurrent.atomic.AtomicLong referenceCounter,
java.util.Map<java.lang.Object,java.lang.Long> referenceSet,
java.io.OutputStream out)
Exports this object's state to bytes.
|