Uni-Logo

Export TreatJS

back to TreatJS Core API Documentation

Build

(TreatJS 1.x)

Description

TreatJS.build();

Example

var Contract = TreatJS.build();
Contract.construct
Contract.assert
Contract.Base
Contract.Function
Contract.Method
Contract.Dependent
Contract.Object
Contract.With
Contract.Union
Contract.Intersection
Contract.Negation
Contract.And
Contract.Or
Contract.Not
Contract.Constructor
Contract.AObject
Contract.AFunction
Contract.SFunction
Contract.AMethod
Contract.SMethod
Contract.SDependent
Contract.StringMap
Contract.Mapping
Contract.RegExpMap
var out = "";
for (var p in Contract) {
  out += "Contract."+p+"\n";
}
out;

Run Online

Export

(TreatJS 1.x)

Description

TreatJS.export( target, prefix, suffix );

Parameters

target
A JavaScript Object.
prefix
A string used as prefix.
suffix
A string used as suffix.

Example

TreatJS.export( this, "__", "__" );
__construct__
__assert__
__Base__
__Function__
__Method__
__Dependent__
__Object__
__With__
__Union__
__Intersection__
__Negation__
__And__
__Or__
__Not__
__Constructor__
__AObject__
__AFunction__
__SFunction__
__AMethod__
__SMethod__
__SDependent__
__StringMap__
__Mapping__
__RegExpMap__