org.jnetstream.lang.npl.type
Interface DataType

All Superinterfaces:
DataOperations
All Known Implementing Classes:
AbstractDataType

public interface DataType
extends DataOperations

Factory and compiler definitions for data types in NPL language. New data types can be easily added to NPL language by registering an instance a new data type that implements this interface. The interface provides various pieces of information that the NPL compiler needs during compilation of NPL programs. The interface also provides methods for various operations including type casts between various NPL types.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jnetstream.lang.npl.type.DataOperations
DataOperations.DataOperation
 
Method Summary
 java.lang.String getNplName()
          Name of the data type as it is used in NPL language.
 
Methods inherited from interface org.jnetstream.lang.npl.type.DataOperations
doAdd, getNativeCapability, getTranslatedCapability
 

Method Detail

getNplName

java.lang.String getNplName()
Name of the data type as it is used in NPL language.

Returns:
name of the data type