stx_libjavascript.st
author Claus Gittinger <cg@exept.de>
Fri, 21 Feb 2020 20:48:14 +0100
changeset 1231 b7d945ef967a
parent 1190 73848707e95c
child 1234 5a99959b4e99
permissions -rw-r--r--
#REFACTORING by exept class: JavaScriptParser changed: #forStatement class: JavaScriptParser class added: #forOfAllowed comment/format in: #forInAllowed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
342
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
     1
"
911
d1e8e73dd8fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
     2
 COPYRIGHT (c) 2006 by Claus Gittinger / eXept Software AG
342
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
     3
              All Rights Reserved
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
     4
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
     5
 This software is furnished under a license and may be used
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
     6
 only in accordance with the terms of that license and with the
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
     8
 be provided or otherwise made available to, or used by, any
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
     9
 other person.  No title to or ownership of the software is
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    10
 hereby transferred.
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    11
"
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libjavascript' }"
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
853
3e118a927c6e class: stx_libjavascript
Claus Gittinger <cg@exept.de>
parents: 825
diff changeset
    14
"{ NameSpace: Smalltalk }"
3e118a927c6e class: stx_libjavascript
Claus Gittinger <cg@exept.de>
parents: 825
diff changeset
    15
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
LibraryDefinition subclass:#stx_libjavascript
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
249
5777e877d9bc Category change
Stefan Vogel <sv@exept.de>
parents: 226
diff changeset
    20
	category:'* Projects & Packages *'
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
342
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    23
!stx_libjavascript class methodsFor:'documentation'!
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    24
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    25
copyright
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    26
"
911
d1e8e73dd8fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    27
 COPYRIGHT (c) 2006 by Claus Gittinger / eXept Software AG
342
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    28
              All Rights Reserved
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    29
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    30
 This software is furnished under a license and may be used
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    31
 only in accordance with the terms of that license and with the
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    33
 be provided or otherwise made available to, or used by, any
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    34
 other person.  No title to or ownership of the software is
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    35
 hereby transferred.
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    36
"
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    37
!
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    38
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    39
documentation
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    40
"
853
3e118a927c6e class: stx_libjavascript
Claus Gittinger <cg@exept.de>
parents: 825
diff changeset
    41
    Package documentation:
3e118a927c6e class: stx_libjavascript
Claus Gittinger <cg@exept.de>
parents: 825
diff changeset
    42
3e118a927c6e class: stx_libjavascript
Claus Gittinger <cg@exept.de>
parents: 825
diff changeset
    43
    This library contains a JavaSript Parser/Compiler, generating Smalltalk bytecode.
3e118a927c6e class: stx_libjavascript
Claus Gittinger <cg@exept.de>
parents: 825
diff changeset
    44
    It is integrated into the browser, and allows programming in a JavaScript-like
3e118a927c6e class: stx_libjavascript
Claus Gittinger <cg@exept.de>
parents: 825
diff changeset
    45
    language in a similar fashion to Smalltalk. 
3e118a927c6e class: stx_libjavascript
Claus Gittinger <cg@exept.de>
parents: 825
diff changeset
    46
    (i.e. incremental compilation, debugging, changing code in the debugger etc)
911
d1e8e73dd8fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    47
d1e8e73dd8fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    48
    [author:]
d1e8e73dd8fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    49
        cg
d1e8e73dd8fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    50
d1e8e73dd8fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    51
    [primary maintainer:]
d1e8e73dd8fb #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 910
diff changeset
    52
        cg
342
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    53
"
3052e916b67d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
    54
! !
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
    56
!stx_libjavascript class methodsFor:'description'!
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
    57
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
    58
excludedFromPreRequisites
432
4d352485f72a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 427
diff changeset
    59
    "list all packages which should be ignored in the automatic
4d352485f72a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 427
diff changeset
    60
     preRequisites scan. See #preRequisites for more."
4d352485f72a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 427
diff changeset
    61
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
    62
    ^ #(
1179
71f3816b8745 #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 1174
diff changeset
    63
        "/ #'stx:libbasic2'    "Random - referenced by Math class>>randomInteger:_: "
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
    64
        #'stx:libview'    "Color - referenced by JavaScriptSyntaxHighlighter>>markSelector:from:to:receiverNode:numArgs: "
999
5eb445e96f62 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 993
diff changeset
    65
        #'stx:libview2'    "ApplicationModel - referenced by JavaScriptCodeGeneratorTool>>anyApplicationClassInProjectOf:"
5eb445e96f62 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 993
diff changeset
    66
        #'stx:libwidg'    "Workspace - referenced by JavaScriptEnvironment>>doesNotUnderstand:"
5eb445e96f62 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 993
diff changeset
    67
        #'stx:goodies/refactoryBrowser/parser'    "ParseTreeSearcher - referenced by JavaScriptCodeGeneratorTool>>codeFor_shouldImplementFor:inClass:"
5eb445e96f62 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 993
diff changeset
    68
        #'stx:goodies/webServer'    "HTTPService - referenced by JavaScriptCodeGeneratorTool>>createDocumentationMethodFor:"
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
    69
    )
999
5eb445e96f62 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 993
diff changeset
    70
5eb445e96f62 #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 993
diff changeset
    71
    "Modified: / 05-07-2018 / 11:46:12 / Stefan Vogel"
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
    72
!
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
    73
578
c1ddcb0b55b1 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 577
diff changeset
    74
mandatoryPreRequisites
875
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
    75
    "list packages which are mandatory as a prerequisite.
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
    76
     This are packages containing superclasses of my classes and classes which
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
    77
     are extended by myself.
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
    78
     They are mandatory, because we need these packages as a prerequisite for loading and compiling.
1121
9ddb67b26f62 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1100
diff changeset
    79
     When loading whole packages,
9ddb67b26f62 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1100
diff changeset
    80
     mandatoryPreRequisites will be automatically loaded
9ddb67b26f62 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1100
diff changeset
    81
     BEFORE this packet has been loaded. 
875
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
    82
     This method is generated automatically,
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
    83
     by searching along the inheritance chain of all of my classes.
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
    84
     Please take a look at the #referencedPreRequisites method as well."
432
4d352485f72a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 427
diff changeset
    85
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
    86
    ^ #(
1179
71f3816b8745 #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 1174
diff changeset
    87
        #'stx:libbasic'    "AbstractMultidimensionalArray - extended"
71f3816b8745 #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 1174
diff changeset
    88
        #'stx:libbasic2'    "Matrix - extended"
875
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
    89
        #'stx:libbasic3'    "HTMLDocGenerator - superclass of HTMLDocGeneratorForJavaScript"
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
    90
        #'stx:libcomp'    "AssignmentNode - superclass of JavaScriptParser::JavaScriptAssignmentNode"
993
545bb5ecbac3 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 949
diff changeset
    91
        #'stx:libtool'    "CodeGeneratorTool - superclass of JavaScriptCodeGeneratorTool"
578
c1ddcb0b55b1 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 577
diff changeset
    92
    )
c1ddcb0b55b1 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 577
diff changeset
    93
!
c1ddcb0b55b1 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 577
diff changeset
    94
c1ddcb0b55b1 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 577
diff changeset
    95
referencedPreRequisites
875
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
    96
    "list packages which are a prerequisite, because they contain
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
    97
     classes which are referenced by my classes.
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
    98
     These packages are NOT needed as a prerequisite for compiling or loading,
875
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
    99
     however, a class from it may be referenced during execution and having it
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
   100
     unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
   101
     includes explicit checks for the package being present.
1121
9ddb67b26f62 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1100
diff changeset
   102
     When loading whole packages,
9ddb67b26f62 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1100
diff changeset
   103
     referencedPreRequisites will be automatically loaded
9ddb67b26f62 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1100
diff changeset
   104
     AFTER this packet has been loaded. 
875
84461495c7ee class: SequenceableCollection
Claus Gittinger <cg@exept.de>
parents: 862
diff changeset
   105
     This method is generated automatically,
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   106
     by searching all classes (and their packages) which are referenced by my classes.
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   107
     Please also take a look at the #mandatoryPreRequisites method"
578
c1ddcb0b55b1 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 577
diff changeset
   108
c1ddcb0b55b1 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 577
diff changeset
   109
    ^ #(
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   110
    )
1160
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   111
!
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   112
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   113
subProjects
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   114
    "list packages which are known as subprojects.
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   115
     The generated makefile will enter those and make there as well.
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   116
     However: they are only built, not forced to be loaded when a package is loaded;
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   117
     for those, redefine #referencedPrerequisites or #mandatoryPreRequisites."
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   118
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   119
    ^ #(
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   120
    )
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   121
! !
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   122
226
0c6fede4493d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 217
diff changeset
   123
!stx_libjavascript class methodsFor:'description - compilation'!
0c6fede4493d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 217
diff changeset
   124
0c6fede4493d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 217
diff changeset
   125
additionalDefinitions_nt_dot_mak
0c6fede4493d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 217
diff changeset
   126
    ^ '
0c6fede4493d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 217
diff changeset
   127
# see stdHeader_nt for LIBJAVASCRIPT_BASE
0c6fede4493d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 217
diff changeset
   128
LIB_BASE_LD_ARG=-b:$(LIBJAVASCRIPT_BASE)
0c6fede4493d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 217
diff changeset
   129
'
0c6fede4493d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 217
diff changeset
   130
! !
0c6fede4493d automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 217
diff changeset
   131
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   132
!stx_libjavascript class methodsFor:'description - contents'!
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   133
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   134
classNamesAndAttributes
432
4d352485f72a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 427
diff changeset
   135
    "lists the classes which are to be included in the project.
4d352485f72a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 427
diff changeset
   136
     Each entry in the list may be: a single class-name (symbol),
4d352485f72a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 427
diff changeset
   137
     or an array-literal consisting of class name and attributes.
4d352485f72a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 427
diff changeset
   138
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
4d352485f72a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 427
diff changeset
   139
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   140
    ^ #(
259
3c7be59885a2 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 249
diff changeset
   141
        "<className> or (<className> attributes...) in load order"
3c7be59885a2 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 249
diff changeset
   142
        HTMLDocGeneratorForJavaScript
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   143
        JavaScriptClass
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   144
        JavaScriptClassNode
993
545bb5ecbac3 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 949
diff changeset
   145
        JavaScriptCodeGeneratorTool
767
f6023379aee6 new JavaScriptConstantNode
Claus Gittinger <cg@exept.de>
parents: 723
diff changeset
   146
        JavaScriptCompletionEngine
f6023379aee6 new JavaScriptConstantNode
Claus Gittinger <cg@exept.de>
parents: 723
diff changeset
   147
        JavaScriptConstantNode
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   148
        JavaScriptEnvironment
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   149
        JavaScriptFunction
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   150
        JavaScriptFunctionNode
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   151
        JavaScriptMetaclass
487
717a141c011f automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 447
diff changeset
   152
        JavaScriptObject
993
545bb5ecbac3 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 949
diff changeset
   153
        JavaScriptParseNodeVisitor
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   154
        JavaScriptScanner
802
2ff589c676c5 class: JavaScriptCompilerWithBreakpointSupport
Claus Gittinger <cg@exept.de>
parents: 790
diff changeset
   155
        JavaScriptSimulatedBrowserEnvironment
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   156
        JavaScriptSourceFileWriter
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   157
        JavaScriptSourceReader
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   158
        JavaScriptVariable
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   159
        JavaScriptVariableNode
304
06b44206f872 added Math
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   160
        Math
487
717a141c011f automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 447
diff changeset
   161
        STXJavaScriptLanguage
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   162
        #'stx_libjavascript'
767
f6023379aee6 new JavaScriptConstantNode
Claus Gittinger <cg@exept.de>
parents: 723
diff changeset
   163
        JavaScriptFunctionWithBreakpoints
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   164
        JavaScriptInnerFunctionNode
993
545bb5ecbac3 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 949
diff changeset
   165
        JavaScriptParseNodeValidator
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   166
        JavaScriptParser
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   167
        JavaScriptCompiler
767
f6023379aee6 new JavaScriptConstantNode
Claus Gittinger <cg@exept.de>
parents: 723
diff changeset
   168
        JavaScriptCompletionParser
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   169
        JavaScriptSyntaxHighlighter
619
13c097ec13d5 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 579
diff changeset
   170
        JavaScriptCompilerWithBreakpointSupport
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   171
    )
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
!
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
extensionMethodNames
885
18e004144f79 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 882
diff changeset
   175
    "lists the extension methods which are to be included in the project.
1168
867ae93c3c46 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1165
diff changeset
   176
     Entries are 2-element array literals, consisting of class-name and selector.
867ae93c3c46 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1165
diff changeset
   177
     A correponding method with real names must be present in my concrete subclasses
867ae93c3c46 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1165
diff changeset
   178
     if it has extensions."
432
4d352485f72a automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 427
diff changeset
   179
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
    ^ #(
561
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   181
        AbstractTime #'js_add:'
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   182
        AbstractTime #'js_addFromTime:'
1160
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   183
        AbstractTime #'js_getHours'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   184
        AbstractTime #'js_getMilliseconds'
1160
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   185
        AbstractTime #'js_getMinutes'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   186
        AbstractTime #'js_getSeconds'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   187
        ArithmeticValue #'js_add:'
561
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   188
        ArithmeticValue #'js_addFromNumber:'
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   189
        ArithmeticValue #'js_addFromTime:'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   190
        Behavior #'js_new'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   191
        Behavior #'js_new:'
1174
a0b302e1f63e #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1172
diff changeset
   192
        Behavior #'js_new:new:'
a0b302e1f63e #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1172
diff changeset
   193
        Behavior #'js_new:new:new:'
1165
768c1d64fad2 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1160
diff changeset
   194
        Block #'js_typeof'
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   195
        Boolean #'js_asBoolean'
1165
768c1d64fad2 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1160
diff changeset
   196
        Boolean #'js_typeof'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   197
        CharacterArray charAt0:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   198
        CharacterArray charAt1:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   199
        CharacterArray charCodeAt0:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   200
        CharacterArray charCodeAt1:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   201
        CharacterArray indexOf0:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   202
        CharacterArray indexOf1:
561
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   203
        CharacterArray #'js_add:'
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   204
        CharacterArray #'js_addFromNumber:'
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   205
        CharacterArray #'js_addFromString:'
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   206
        CharacterArray #'js_addFromTime:'
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   207
        CharacterArray #'js_indexOf:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   208
        CharacterArray #'js_indexOf:_:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   209
        CharacterArray #'js_lastIndexOf:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   210
        CharacterArray #'js_lastIndexOf:_:'
993
545bb5ecbac3 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 949
diff changeset
   211
        CharacterArray #'js_split:'
1165
768c1d64fad2 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1160
diff changeset
   212
        CharacterArray #'js_typeof'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   213
        CharacterArray lastIndexOf0:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   214
        CharacterArray lastIndexOf1:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   215
        CharacterArray quote
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   216
        CharacterArray substr0:
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   217
        CharacterArray #'substr0:_:'
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   218
        CharacterArray substr1:
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   219
        CharacterArray #'substr1:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   220
        CharacterArray substring0:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   221
        CharacterArray #'substring0:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   222
        CharacterArray substring1:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   223
        CharacterArray #'substring1:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   224
        CharacterArray toLowerCase
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   225
        CharacterArray toUpperCase
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   226
        CharacterArray trim
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   227
        CharacterArray trimLeft
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   228
        CharacterArray trimRight
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   229
        Collection forEach:
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   230
        Collection length
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   231
        False #'js_not'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   232
        Integer #'js_asBoolean'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   233
        Integer #'js_not'
1165
768c1d64fad2 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1160
diff changeset
   234
        Number #'js_typeof'
1144
66fc809a41e4 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1143
diff changeset
   235
        Number toExponential
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   236
        Number toExponential:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   237
        Number #'toExponential:_:'
1146
d254ce81eb3a #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   238
        Number toFixed
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   239
        Number toFixed:
561
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   240
        Object #'js_addFromString:'
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   241
        Object #'js_asBoolean'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   242
        Object #'js_at:'
1121
9ddb67b26f62 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1100
diff changeset
   243
        Object #'js_at:at:'
9ddb67b26f62 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1100
diff changeset
   244
        Object #'js_at:at:at:'
9ddb67b26f62 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1100
diff changeset
   245
        Object #'js_at:at:at:put:'
9ddb67b26f62 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1100
diff changeset
   246
        Object #'js_at:at:put:'
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   247
        Object #'js_at:put:'
1190
73848707e95c #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1179
diff changeset
   248
        Object #'js_await'
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   249
        Object #'js_length'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   250
        Object #'js_new'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   251
        Object #'js_new:'
1165
768c1d64fad2 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1160
diff changeset
   252
        Object #'js_typeof'
1168
867ae93c3c46 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1165
diff changeset
   253
        Object #'js_valueOf'
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   254
        ParseNode isBreakStatement
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   255
        SequenceableCollection concat:
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   256
        SequenceableCollection doesNotUnderstand:
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   257
        SequenceableCollection every:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   258
        SequenceableCollection filter:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   259
        SequenceableCollection indexOf0:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   260
        SequenceableCollection indexOf1:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   261
        SequenceableCollection join:
427
58d3331aac66 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 411
diff changeset
   262
        SequenceableCollection #'js_add:'
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   263
        SequenceableCollection #'js_concat'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   264
        SequenceableCollection #'js_concat:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   265
        SequenceableCollection #'js_concat:_:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   266
        SequenceableCollection #'js_concat:_:_:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   267
        SequenceableCollection #'js_concat:_:_:_:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   268
        SequenceableCollection #'js_concat:_:_:_:_:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   269
        SequenceableCollection #'js_concat:_:_:_:_:_:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   270
        SequenceableCollection #'js_indexOf:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   271
        SequenceableCollection #'js_indexOf:_:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   272
        SequenceableCollection #'js_lastIndexOf:'
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   273
        SequenceableCollection #'js_lastIndexOf:_:'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   274
        SequenceableCollection #'js_map:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   275
        SequenceableCollection lastIndexOf0:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   276
        SequenceableCollection lastIndexOf1:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   277
        SequenceableCollection pop
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   278
        SequenceableCollection push:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   279
        SequenceableCollection reduce0:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   280
        SequenceableCollection #'reduce0:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   281
        SequenceableCollection reduce1:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   282
        SequenceableCollection #'reduce1:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   283
        SequenceableCollection shift
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   284
        SequenceableCollection #'slice0:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   285
        SequenceableCollection #'slice1:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   286
        SequenceableCollection some:
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   287
        SequenceableCollection unshift:
1025
79929b9ff854 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1023
diff changeset
   288
        Signal #'js_add:'
79929b9ff854 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1023
diff changeset
   289
        SignalSet #'js_add:'
1172
fa55e48af774 #BUGFIX by exept
Claus Gittinger <cg@exept.de>
parents: 1168
diff changeset
   290
        Stream #'_convertPrintArgs:'
1023
8ac3562648a8 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1003
diff changeset
   291
        Stream log:
1135
afb0e559e3ee #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1132
diff changeset
   292
        Stream #'log:_:'
afb0e559e3ee #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1132
diff changeset
   293
        Stream #'log:_:_:'
afb0e559e3ee #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1132
diff changeset
   294
        Stream #'log:_:_:_:'
afb0e559e3ee #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1132
diff changeset
   295
        Stream #'log:_:_:_:_:'
afb0e559e3ee #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1132
diff changeset
   296
        Stream #'log:_:_:_:_:_:'
afb0e559e3ee #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1132
diff changeset
   297
        Stream #'log:_:_:_:_:_:_:'
1172
fa55e48af774 #BUGFIX by exept
Claus Gittinger <cg@exept.de>
parents: 1168
diff changeset
   298
        Stream #'log:_:_:_:_:_:_:_:'
fa55e48af774 #BUGFIX by exept
Claus Gittinger <cg@exept.de>
parents: 1168
diff changeset
   299
        Stream #'log:_:_:_:_:_:_:_:_:'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   300
        Stream #'show:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   301
        Stream #'show:_:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   302
        Stream #'show:_:_:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   303
        Stream #'show:_:_:_:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   304
        Stream #'show:_:_:_:_:_:'
561
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   305
        Stream #'show:_:_:_:_:_:_:'
1135
afb0e559e3ee #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1132
diff changeset
   306
        Stream #'show:_:_:_:_:_:_:_:'
afb0e559e3ee #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1132
diff changeset
   307
        Stream #'show:_:_:_:_:_:_:_:_:'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   308
        Stream #'showCR:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   309
        Stream #'showCR:_:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   310
        Stream #'showCR:_:_:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   311
        Stream #'showCR:_:_:_:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   312
        Stream #'showCR:_:_:_:_:_:'
561
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   313
        Stream #'showCR:_:_:_:_:_:_:'
1135
afb0e559e3ee #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1132
diff changeset
   314
        Stream #'showCR:_:_:_:_:_:_:_:'
afb0e559e3ee #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1132
diff changeset
   315
        Stream #'showCR:_:_:_:_:_:_:_:_:'
1160
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   316
        Timestamp #'js_getDate'
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   317
        Timestamp #'js_getDay'
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   318
        Timestamp #'js_getFullYear'
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   319
        Timestamp #'js_getMonth'
3f965015924d #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 1146
diff changeset
   320
        Timestamp #'js_getYear'
934
f5d2bf82185b #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 912
diff changeset
   321
        True #'js_not'
1165
768c1d64fad2 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1160
diff changeset
   322
        UndefinedObject #'js_typeof'
1132
7a448058d1e1 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1127
diff changeset
   323
        'Boolean class' #'js_new:'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   324
        'Collection class' #'with:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   325
        'Collection class' #'with:_:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   326
        'Collection class' #'with:_:_:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   327
        'Collection class' #'with:_:_:_:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   328
        'Collection class' #'with:_:_:_:_:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   329
        'Collection class' #'with:_:_:_:_:_:_:'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   330
        'Collection class' #'with:_:_:_:_:_:_:_:'
1040
b89cd932a169 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   331
        'Date class' #'js_new'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   332
        'Date class' #'js_new:'
1045
dfbeef999bc9 #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 1040
diff changeset
   333
        'Date class' #'js_new:new:'
1040
b89cd932a169 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   334
        'Date class' #'js_new:new:new:'
1045
dfbeef999bc9 #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 1040
diff changeset
   335
        'Date class' #'js_new:new:new:new:'
dfbeef999bc9 #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 1040
diff changeset
   336
        'Date class' #'js_new:new:new:new:new:'
1040
b89cd932a169 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   337
        'Date class' #'js_new:new:new:new:new:new:'
b89cd932a169 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   338
        'Date class' #'js_new:new:new:new:new:new:new:'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   339
        'Date class' now
1025
79929b9ff854 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 1023
diff changeset
   340
        'GenericException class' #'js_add:'
561
1332c14d2fad class: stx_libjavascript
Stefan Vogel <sv@exept.de>
parents: 558
diff changeset
   341
        'GenericException class' #'js_new:'
1174
a0b302e1f63e #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1172
diff changeset
   342
        'Matrix class' #'js_new:new:'
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   343
        'Number class' #'MAX_VALUE'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   344
        'Number class' #'MIN_VALUE'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   345
        'Number class' #'NEGATIVE_INFINITY'
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   346
        'Number class' NaN
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   347
        'Number class' #'POSITIVE_INFINITY'
1143
16fca9758536 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1139
diff changeset
   348
        'Number class' isFinite:
1127
b2c0eaf72dea #BUGFIX by exept
Claus Gittinger <cg@exept.de>
parents: 1122
diff changeset
   349
        'Number class' isInteger:
1143
16fca9758536 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1139
diff changeset
   350
        'Number class' isNaN:
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   351
        'Number class' #'js_new:'
1143
16fca9758536 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1139
diff changeset
   352
        'Number class' parseFloat:
16fca9758536 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 1139
diff changeset
   353
        'Number class' parseInt:
329
3518ed722737 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 304
diff changeset
   354
        'String class' fromCharCode:
1038
ae2af6eae27a #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   355
        'String class' #'js_new:'
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   356
    )
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   357
! !
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   358
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   359
!stx_libjavascript class methodsFor:'description - project information'!
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   360
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   361
companyName
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   362
    "Return a companyname which will appear in <lib>.rc"
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   363
910
2b2c164d908a #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 907
diff changeset
   364
    ^ 'Claus Gittinger / eXept Software AG'
2b2c164d908a #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 907
diff changeset
   365
2b2c164d908a #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 907
diff changeset
   366
    "Modified: / 18-11-2016 / 11:48:09 / cg"
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   367
!
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   368
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   369
description
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   370
    "Return a description string which will appear in nt.def / bc.def"
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   371
899
f6bfc159df95 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 892
diff changeset
   372
    ^ 'Smalltalk/X JavaScript Bytecode Compiler'
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   373
!
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   374
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   375
legalCopyright
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   376
    "Return a copyright string which will appear in <lib>.rc"
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   377
912
5711b997dd35 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 911
diff changeset
   378
    ^ 'Copyright Claus Gittinger 2012\nCopyright eXept Software AG 2012'
262
27442b21812f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 261
diff changeset
   379
912
5711b997dd35 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 911
diff changeset
   380
    "Modified: / 18-11-2016 / 12:18:42 / cg"
577
28b16e014536 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 561
diff changeset
   381
!
28b16e014536 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 561
diff changeset
   382
28b16e014536 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 561
diff changeset
   383
productName
28b16e014536 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 561
diff changeset
   384
    "Return a product name which will appear in <lib>.rc"
28b16e014536 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 561
diff changeset
   385
28b16e014536 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 561
diff changeset
   386
    ^ 'Smalltalk/X'
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   387
! !
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   388
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   389
!stx_libjavascript class methodsFor:'documentation'!
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   390
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   391
version
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   392
    ^ '$Header$'
378
b0489cdbe371 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 353
diff changeset
   393
!
b0489cdbe371 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 353
diff changeset
   394
b0489cdbe371 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 353
diff changeset
   395
version_CVS
b0489cdbe371 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 353
diff changeset
   396
    ^ '$Header$'
217
5e34f6d09f36 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   397
! !
577
28b16e014536 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 561
diff changeset
   398