summaryrefslogtreecommitdiff
path: root/source4/lib/appweb/ejs-2.0/ejs/system/README.TXT
blob: a24e0e299ca809c47977a0f529c297eb8dd17710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Embedded JavaScript System Model


- Need args, arg types and exceptions thrown
- Error classes

class Global
	class System
		class environment
			var 
		class GC 
			void function run()
			function tune()
			function getUsedMemory()			// Should be properties
			function getAllocatedMemory()		// Should be properties

		var javascript
		var null
		var undefined
		var true
		var false
		var Nan
		var Infinity

		function random								// Not implemented
		function sleep								// Not implemented
		function exit
		function yield								// Not implemented

		Debug
			isDebugMode

		Limits
			isLimitsMode					// Not implemented
			stack							// Not implemented
			heap							// Not implemented
			flash							// Not implemented

		Memory
			getUsedMemory()					// Should be properties
			getAvailableMemory()			// Should be properties
			used
			flash							// Not implemented

	assert()
	breakpoint()
	dirname()
	basename()
	eval()
	exit()
	print()
	println()
	printVars()
	sleep()
	sort()
	time()
	typeof()
	include()
	trace()
	printf()								// Not implemented
	sprintf()