Browse Source

Uses protocol instead of category in method exports

Nicolas Petton 11 years ago
parent
commit
a98c50468f

+ 7 - 7
js/Benchfib.js

@@ -7,7 +7,7 @@ smalltalk.addClass('Benchfib', smalltalk.Object, [], 'Benchfib');
 smalltalk.addMethod(
 smalltalk.method({
 selector: "main",
-category: 'not yet classified',
+protocol: 'not yet classified',
 fn: function (){
 var self=this;
 var result;
@@ -25,7 +25,7 @@ smalltalk.Benchfib.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "benchFib",
-category: '*Benchfib',
+protocol: '*Benchfib',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -54,7 +54,7 @@ smalltalk.Number);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "benchmark",
-category: '*Benchfib',
+protocol: '*Benchfib',
 fn: function (){
 var self=this;
 var size,flags,prime,k,count;
@@ -111,7 +111,7 @@ smalltalk.Number);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "jsbenchFib",
-category: '*Benchfib',
+protocol: '*Benchfib',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -130,7 +130,7 @@ smalltalk.Number);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "jsbenchmark",
-category: '*Benchfib',
+protocol: '*Benchfib',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -167,7 +167,7 @@ smalltalk.Number);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "jstinyBenchmarks",
-category: '*Benchfib',
+protocol: '*Benchfib',
 fn: function (){
 var self=this;
 var t1,t2,r,n1,n2;
@@ -232,7 +232,7 @@ smalltalk.Number);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tinyBenchmarks",
-category: '*Benchfib',
+protocol: '*Benchfib',
 fn: function (){
 var self=this;
 var t1,t2,r,n1,n2;

File diff suppressed because it is too large
+ 112 - 112
js/Canvas.js


File diff suppressed because it is too large
+ 112 - 112
js/Compiler-AST.js


+ 51 - 51
js/Compiler-Core.js

@@ -7,7 +7,7 @@ smalltalk.AbstractCodeGenerator.comment="I am the abstract super class of all co
 smalltalk.addMethod(
 smalltalk.method({
 selector: "classNameFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -37,7 +37,7 @@ smalltalk.AbstractCodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compileNode:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -53,7 +53,7 @@ smalltalk.AbstractCodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "currentClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -71,7 +71,7 @@ smalltalk.AbstractCodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "currentClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -87,7 +87,7 @@ smalltalk.AbstractCodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "pseudoVariables",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -106,7 +106,7 @@ smalltalk.AbstractCodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "safeVariableNameFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -130,7 +130,7 @@ smalltalk.AbstractCodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "source",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -153,7 +153,7 @@ smalltalk.AbstractCodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "source:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -173,7 +173,7 @@ smalltalk.CodeGenerator.comment="I am a basic code generator. I generate a valid
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compileNode:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aNode){
 var self=this;
 var ir,stream;
@@ -200,7 +200,7 @@ smalltalk.CodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "irTranslator",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (){
 var self=this;
 function $IRJSTranslator(){return smalltalk.IRJSTranslator||(typeof IRJSTranslator=="undefined"?nil:IRJSTranslator)}
@@ -219,7 +219,7 @@ smalltalk.CodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "semanticAnalyzer",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (){
 var self=this;
 function $SemanticAnalyzer(){return smalltalk.SemanticAnalyzer||(typeof SemanticAnalyzer=="undefined"?nil:SemanticAnalyzer)}
@@ -238,7 +238,7 @@ smalltalk.CodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "translator",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (){
 var self=this;
 function $IRASTTranslator(){return smalltalk.IRASTTranslator||(typeof IRASTTranslator=="undefined"?nil:IRASTTranslator)}
@@ -265,7 +265,7 @@ smalltalk.Compiler.comment="I provide the public interface for compiling Amber s
 smalltalk.addMethod(
 smalltalk.method({
 selector: "codeGeneratorClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $InliningCodeGenerator(){return smalltalk.InliningCodeGenerator||(typeof InliningCodeGenerator=="undefined"?nil:InliningCodeGenerator)}
@@ -289,7 +289,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "codeGeneratorClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -305,7 +305,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compile:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -323,7 +323,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compile:forClass:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString,aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -343,7 +343,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compileExpression:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString){
 var self=this;
 function $DoIt(){return smalltalk.DoIt||(typeof DoIt=="undefined"?nil:DoIt)}
@@ -366,7 +366,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compileExpression:on:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString,anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -388,7 +388,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compileNode:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aNode){
 var self=this;
 var generator,result;
@@ -413,7 +413,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "currentClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -431,7 +431,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "currentClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -447,7 +447,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "eval:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -463,7 +463,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "evaluateExpression:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString){
 var self=this;
 function $DoIt(){return smalltalk.DoIt||(typeof DoIt=="undefined"?nil:DoIt)}
@@ -482,7 +482,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "evaluateExpression:on:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString,anObject){
 var self=this;
 var result,method;
@@ -508,7 +508,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "install:forClass:protocol:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString,aBehavior,anotherString){
 var self=this;
 function $ClassBuilder(){return smalltalk.ClassBuilder||(typeof ClassBuilder=="undefined"?nil:ClassBuilder)}
@@ -527,7 +527,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "parse:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -546,7 +546,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "parseExpression:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -566,7 +566,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "recompile:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -590,7 +590,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "recompileAll",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -610,7 +610,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "source",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -633,7 +633,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "source:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -649,7 +649,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unknownVariables",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -667,7 +667,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unknownVariables:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -684,7 +684,7 @@ smalltalk.Compiler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "recompile:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -700,7 +700,7 @@ smalltalk.Compiler.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "recompileAll",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -727,7 +727,7 @@ smalltalk.NodeVisitor.comment="I am the abstract super class of all AST node vis
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visit:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -745,7 +745,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitAll:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -766,7 +766,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitAssignmentNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -784,7 +784,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitBlockNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -802,7 +802,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitBlockSequenceNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -820,7 +820,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitCascadeNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -838,7 +838,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitDynamicArrayNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -856,7 +856,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitDynamicDictionaryNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -874,7 +874,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitJSStatementNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -892,7 +892,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitMethodNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -910,7 +910,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -928,7 +928,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitReturnNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -946,7 +946,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitSendNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -964,7 +964,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitSequenceNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -982,7 +982,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitValueNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1000,7 +1000,7 @@ smalltalk.NodeVisitor);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitVariableNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 11 - 11
js/Compiler-Exceptions.js

@@ -23,7 +23,7 @@ smalltalk.InvalidAssignmentError.comment="I get signaled when a pseudo variable
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageText",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -41,7 +41,7 @@ smalltalk.InvalidAssignmentError);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variableName",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -59,7 +59,7 @@ smalltalk.InvalidAssignmentError);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variableName:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -79,7 +79,7 @@ smalltalk.ShadowingVariableError.comment="I get signaled when a variable in a bl
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageText",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -98,7 +98,7 @@ smalltalk.ShadowingVariableError);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variableName",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -116,7 +116,7 @@ smalltalk.ShadowingVariableError);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variableName:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -136,7 +136,7 @@ smalltalk.UnknownVariableError.comment="I get signaled when a variable is not de
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageText",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -155,7 +155,7 @@ smalltalk.UnknownVariableError);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variableName",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -173,7 +173,7 @@ smalltalk.UnknownVariableError);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variableName:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -193,7 +193,7 @@ smalltalk.RethrowErrorHandler.comment="This class is used in the commandline ver
 smalltalk.addMethod(
 smalltalk.method({
 selector: "basicSignal:",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (anError){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -209,7 +209,7 @@ smalltalk.RethrowErrorHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handleError:",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (anError){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

File diff suppressed because it is too large
+ 112 - 112
js/Compiler-IR.js


+ 66 - 66
js/Compiler-Inlining.js

@@ -7,7 +7,7 @@ smalltalk.IRInlinedAssignment.comment="I represent an inlined assignment instruc
 smalltalk.addMethod(
 smalltalk.method({
 selector: "accept:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aVisitor){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -25,7 +25,7 @@ smalltalk.IRInlinedAssignment);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInlined",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -45,7 +45,7 @@ smalltalk.IRInlinedClosure.comment="I represent an inlined closure instruction."
 smalltalk.addMethod(
 smalltalk.method({
 selector: "accept:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aVisitor){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -61,7 +61,7 @@ smalltalk.IRInlinedClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInlined",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -81,7 +81,7 @@ smalltalk.IRInlinedReturn.comment="I represent an inlined local return instructi
 smalltalk.addMethod(
 smalltalk.method({
 selector: "accept:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aVisitor){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -99,7 +99,7 @@ smalltalk.IRInlinedReturn);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInlined",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -119,7 +119,7 @@ smalltalk.IRInlinedSend.comment="I am the abstract super class of inlined messag
 smalltalk.addMethod(
 smalltalk.method({
 selector: "accept:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aVisitor){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -135,7 +135,7 @@ smalltalk.IRInlinedSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInlined",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -155,7 +155,7 @@ smalltalk.IRInlinedIfFalse.comment="I represent an inlined `#ifFalse:` message s
 smalltalk.addMethod(
 smalltalk.method({
 selector: "accept:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aVisitor){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -175,7 +175,7 @@ smalltalk.IRInlinedIfNilIfNotNil.comment="I represent an inlined `#ifNil:ifNotNi
 smalltalk.addMethod(
 smalltalk.method({
 selector: "accept:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aVisitor){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -195,7 +195,7 @@ smalltalk.IRInlinedIfTrue.comment="I represent an inlined `#ifTrue:` message sen
 smalltalk.addMethod(
 smalltalk.method({
 selector: "accept:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aVisitor){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -215,7 +215,7 @@ smalltalk.IRInlinedIfTrueIfFalse.comment="I represent an inlined `#ifTrue:ifFals
 smalltalk.addMethod(
 smalltalk.method({
 selector: "accept:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aVisitor){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -235,7 +235,7 @@ smalltalk.IRInlinedSequence.comment="I represent a (block) sequence inside an in
 smalltalk.addMethod(
 smalltalk.method({
 selector: "accept:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aVisitor){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -251,7 +251,7 @@ smalltalk.IRInlinedSequence);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInlined",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -271,7 +271,7 @@ smalltalk.IRInliner.comment="I visit an IR tree, inlining message sends and bloc
 smalltalk.addMethod(
 smalltalk.method({
 selector: "assignmentInliner",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 function $IRAssignmentInliner(){return smalltalk.IRAssignmentInliner||(typeof IRAssignmentInliner=="undefined"?nil:IRAssignmentInliner)}
@@ -293,7 +293,7 @@ smalltalk.IRInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "returnInliner",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 function $IRReturnInliner(){return smalltalk.IRReturnInliner||(typeof IRReturnInliner=="undefined"?nil:IRReturnInliner)}
@@ -315,7 +315,7 @@ smalltalk.IRInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "sendInliner",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 function $IRSendInliner(){return smalltalk.IRSendInliner||(typeof IRSendInliner=="undefined"?nil:IRSendInliner)}
@@ -337,7 +337,7 @@ smalltalk.IRInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "shouldInlineAssignment:",
-category: 'testing',
+protocol: 'testing',
 fn: function (anIRAssignment){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -367,7 +367,7 @@ smalltalk.IRInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "shouldInlineReturn:",
-category: 'testing',
+protocol: 'testing',
 fn: function (anIRReturn){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -397,7 +397,7 @@ smalltalk.IRInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "shouldInlineSend:",
-category: 'testing',
+protocol: 'testing',
 fn: function (anIRSend){
 var self=this;
 function $IRSendInliner(){return smalltalk.IRSendInliner||(typeof IRSendInliner=="undefined"?nil:IRSendInliner)}
@@ -419,7 +419,7 @@ smalltalk.IRInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "transformNonLocalReturn:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRNonLocalReturn){
 var self=this;
 var localReturn;
@@ -462,7 +462,7 @@ smalltalk.IRInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRAssignment:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRAssignment){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -485,7 +485,7 @@ smalltalk.IRInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRNonLocalReturn:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRNonLocalReturn){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -503,7 +503,7 @@ smalltalk.IRInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRReturn:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRReturn){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -526,7 +526,7 @@ smalltalk.IRInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRSend:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRSend){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -553,7 +553,7 @@ smalltalk.IRInliningJSTranslator.comment="I am a specialized JavaScript translat
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRInlinedAssignment:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRInlinedAssignment){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -569,7 +569,7 @@ smalltalk.IRInliningJSTranslator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRInlinedClosure:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRInlinedClosure){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -592,7 +592,7 @@ smalltalk.IRInliningJSTranslator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRInlinedIfFalse:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRInlinedIfFalse){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -626,7 +626,7 @@ smalltalk.IRInliningJSTranslator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRInlinedIfNil:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRInlinedIfNil){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -660,7 +660,7 @@ smalltalk.IRInliningJSTranslator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRInlinedIfNilIfNotNil:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRInlinedIfNilIfNotNil){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -701,7 +701,7 @@ smalltalk.IRInliningJSTranslator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRInlinedIfTrue:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRInlinedIfTrue){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -735,7 +735,7 @@ smalltalk.IRInliningJSTranslator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRInlinedIfTrueIfFalse:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRInlinedIfTrueIfFalse){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -776,7 +776,7 @@ smalltalk.IRInliningJSTranslator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRInlinedNonLocalReturn:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRInlinedReturn){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -801,7 +801,7 @@ smalltalk.IRInliningJSTranslator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRInlinedReturn:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRInlinedReturn){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -817,7 +817,7 @@ smalltalk.IRInliningJSTranslator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitIRInlinedSequence:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (anIRInlinedSequence){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -843,7 +843,7 @@ smalltalk.IRSendInliner.comment="I inline some message sends and block closure a
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ifFalse:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRInstruction){
 var self=this;
 function $IRInlinedIfFalse(){return smalltalk.IRInlinedIfFalse||(typeof IRInlinedIfFalse=="undefined"?nil:IRInlinedIfFalse)}
@@ -862,7 +862,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ifFalse:ifTrue:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRInstruction,anotherIRInstruction){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -880,7 +880,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ifNil:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRInstruction){
 var self=this;
 function $IRInlinedIfNilIfNotNil(){return smalltalk.IRInlinedIfNilIfNotNil||(typeof IRInlinedIfNilIfNotNil=="undefined"?nil:IRInlinedIfNilIfNotNil)}
@@ -916,7 +916,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ifNil:ifNotNil:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRInstruction,anotherIRInstruction){
 var self=this;
 function $IRInlinedIfNilIfNotNil(){return smalltalk.IRInlinedIfNilIfNotNil||(typeof IRInlinedIfNilIfNotNil=="undefined"?nil:IRInlinedIfNilIfNotNil)}
@@ -935,7 +935,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ifNotNil:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRInstruction){
 var self=this;
 function $IRInlinedIfNilIfNotNil(){return smalltalk.IRInlinedIfNilIfNotNil||(typeof IRInlinedIfNilIfNotNil=="undefined"?nil:IRInlinedIfNilIfNotNil)}
@@ -971,7 +971,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ifNotNil:ifNil:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRInstruction,anotherIRInstruction){
 var self=this;
 function $IRInlinedIfNilIfNotNil(){return smalltalk.IRInlinedIfNilIfNotNil||(typeof IRInlinedIfNilIfNotNil=="undefined"?nil:IRInlinedIfNilIfNotNil)}
@@ -990,7 +990,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ifTrue:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRInstruction){
 var self=this;
 function $IRInlinedIfTrue(){return smalltalk.IRInlinedIfTrue||(typeof IRInlinedIfTrue=="undefined"?nil:IRInlinedIfTrue)}
@@ -1009,7 +1009,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ifTrue:ifFalse:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRInstruction,anotherIRInstruction){
 var self=this;
 function $IRInlinedIfTrueIfFalse(){return smalltalk.IRInlinedIfTrueIfFalse||(typeof IRInlinedIfTrueIfFalse=="undefined"?nil:IRInlinedIfTrueIfFalse)}
@@ -1028,7 +1028,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlineClosure:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRClosure){
 var self=this;
 var inlinedClosure,sequence,statements;
@@ -1152,7 +1152,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlineSend:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRSend){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1174,7 +1174,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlinedClosure",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 function $IRInlinedClosure(){return smalltalk.IRInlinedClosure||(typeof IRInlinedClosure=="undefined"?nil:IRInlinedClosure)}
@@ -1193,7 +1193,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlinedSend:with:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (inlinedSend,anIRInstruction){
 var self=this;
 var inlinedClosure;
@@ -1229,7 +1229,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlinedSend:with:with:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (inlinedSend,anIRInstruction,anotherIRInstruction){
 var self=this;
 var inlinedClosure1,inlinedClosure2;
@@ -1274,7 +1274,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlinedSequence",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 function $IRInlinedSequence(){return smalltalk.IRInlinedSequence||(typeof IRInlinedSequence=="undefined"?nil:IRInlinedSequence)}
@@ -1293,7 +1293,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inliningError:",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (aString){
 var self=this;
 function $InliningError(){return smalltalk.InliningError||(typeof InliningError=="undefined"?nil:InliningError)}
@@ -1310,7 +1310,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "send",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1328,7 +1328,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "send:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anIRSend){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1344,7 +1344,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "translator",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1362,7 +1362,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "translator:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anASTTranslator){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1379,7 +1379,7 @@ smalltalk.IRSendInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlinedSelectors",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1397,7 +1397,7 @@ smalltalk.IRSendInliner.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "shouldInline:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anIRInstruction){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1432,7 +1432,7 @@ smalltalk.IRAssignmentInliner.comment="I inline message sends together with assi
 smalltalk.addMethod(
 smalltalk.method({
 selector: "assignment",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1450,7 +1450,7 @@ smalltalk.IRAssignmentInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "assignment:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1466,7 +1466,7 @@ smalltalk.IRAssignmentInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlineAssignment:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRAssignment){
 var self=this;
 var inlinedAssignment;
@@ -1496,7 +1496,7 @@ smalltalk.IRAssignmentInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlineClosure:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRClosure){
 var self=this;
 var inlinedClosure,statements;
@@ -1544,7 +1544,7 @@ smalltalk.IRReturnInliner.comment="I inline message sends with inlined closure t
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlineClosure:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRClosure){
 var self=this;
 var closure,statements;
@@ -1583,7 +1583,7 @@ smalltalk.IRReturnInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlineReturn:",
-category: 'inlining',
+protocol: 'inlining',
 fn: function (anIRReturn){
 var self=this;
 var return_;
@@ -1611,7 +1611,7 @@ smalltalk.IRReturnInliner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inlinedReturn",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 function $IRInlinedReturn(){return smalltalk.IRInlinedReturn||(typeof IRInlinedReturn=="undefined"?nil:IRInlinedReturn)}
@@ -1634,7 +1634,7 @@ smalltalk.InliningCodeGenerator.comment="I am a specialized code generator that
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compileNode:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aNode){
 var self=this;
 var ir,stream;
@@ -1663,7 +1663,7 @@ smalltalk.InliningCodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inliner",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (){
 var self=this;
 function $IRInliner(){return smalltalk.IRInliner||(typeof IRInliner=="undefined"?nil:IRInliner)}
@@ -1682,7 +1682,7 @@ smalltalk.InliningCodeGenerator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "irTranslator",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (){
 var self=this;
 function $IRInliningJSTranslator(){return smalltalk.IRInliningJSTranslator||(typeof IRInliningJSTranslator=="undefined"?nil:IRInliningJSTranslator)}

File diff suppressed because it is too large
+ 112 - 112
js/Compiler-Interpreter.js


+ 91 - 91
js/Compiler-Semantic.js

@@ -7,7 +7,7 @@ smalltalk.LexicalScope.comment="I represent a lexical scope where variable names
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addArg:",
-category: 'adding',
+protocol: 'adding',
 fn: function (aString){
 var self=this;
 function $ArgVar(){return smalltalk.ArgVar||(typeof ArgVar=="undefined"?nil:ArgVar)}
@@ -28,7 +28,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addTemp:",
-category: 'adding',
+protocol: 'adding',
 fn: function (aString){
 var self=this;
 function $TempVar(){return smalltalk.TempVar||(typeof TempVar=="undefined"?nil:TempVar)}
@@ -49,7 +49,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "alias",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -67,7 +67,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "allVariableNames",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -87,7 +87,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "args",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Dictionary(){return smalltalk.Dictionary||(typeof Dictionary=="undefined"?nil:Dictionary)}
@@ -112,7 +112,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "bindingFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aStringOrNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -147,7 +147,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "blockIndex",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -170,7 +170,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "blockIndex:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -186,7 +186,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "canInlineNonLocalReturns",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -207,7 +207,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "instruction",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -225,7 +225,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "instruction:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anIRInstruction){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -241,7 +241,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isBlockScope",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -259,7 +259,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInlined",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -283,7 +283,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isMethodScope",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -299,7 +299,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "lookupVariable:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aNode){
 var self=this;
 var lookup;
@@ -332,7 +332,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodScope",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -356,7 +356,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "node",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -374,7 +374,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "node:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -390,7 +390,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "outerScope",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -408,7 +408,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "outerScope:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aLexicalScope){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -424,7 +424,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "pseudoVars",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -442,7 +442,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "scopeLevel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -475,7 +475,7 @@ smalltalk.LexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "temps",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Dictionary(){return smalltalk.Dictionary||(typeof Dictionary=="undefined"?nil:Dictionary)}
@@ -504,7 +504,7 @@ smalltalk.MethodLexicalScope.comment="I represent a method scope.";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addIVar:",
-category: 'adding',
+protocol: 'adding',
 fn: function (aString){
 var self=this;
 function $InstanceVar(){return smalltalk.InstanceVar||(typeof InstanceVar=="undefined"?nil:InstanceVar)}
@@ -525,7 +525,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addNonLocalReturn:",
-category: 'adding',
+protocol: 'adding',
 fn: function (aScope){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -541,7 +541,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "allVariableNames",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -559,7 +559,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "bindingFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -585,7 +585,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "canInlineNonLocalReturns",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -601,7 +601,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "hasLocalReturn",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -619,7 +619,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "hasNonLocalReturn",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -637,7 +637,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "iVars",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Dictionary(){return smalltalk.Dictionary||(typeof Dictionary=="undefined"?nil:Dictionary)}
@@ -662,7 +662,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isMethodScope",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -678,7 +678,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "localReturn",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -701,7 +701,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "localReturn:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aBoolean){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -717,7 +717,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodScope",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -733,7 +733,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "nonLocalReturns",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $OrderedCollection(){return smalltalk.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}
@@ -758,7 +758,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "pseudoVars",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Dictionary(){return smalltalk.Dictionary||(typeof Dictionary=="undefined"?nil:Dictionary)}
@@ -793,7 +793,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "removeNonLocalReturn:",
-category: 'adding',
+protocol: 'adding',
 fn: function (aScope){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -811,7 +811,7 @@ smalltalk.MethodLexicalScope);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unknownVariables",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $OrderedCollection(){return smalltalk.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}
@@ -840,7 +840,7 @@ smalltalk.ScopeVar.comment="I am an entry in a LexicalScope that gets associated
 smalltalk.addMethod(
 smalltalk.method({
 selector: "alias",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -858,7 +858,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isArgVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -874,7 +874,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isClassRefVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -890,7 +890,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isImmutable",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -906,7 +906,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInstanceVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -922,7 +922,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isPseudoVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -938,7 +938,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isTempVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -954,7 +954,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isUnknownVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -970,7 +970,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "name",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -988,7 +988,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "name:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1004,7 +1004,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "scope",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1022,7 +1022,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "scope:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aScope){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1038,7 +1038,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "validateAssignment",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 function $InvalidAssignmentError(){return smalltalk.InvalidAssignmentError||(typeof InvalidAssignmentError=="undefined"?nil:InvalidAssignmentError)}
@@ -1066,7 +1066,7 @@ smalltalk.ScopeVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1090,7 +1090,7 @@ smalltalk.AliasVar.comment="I am an internally defined variable by the compiler"
 smalltalk.addMethod(
 smalltalk.method({
 selector: "node",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1108,7 +1108,7 @@ smalltalk.AliasVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "node:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1128,7 +1128,7 @@ smalltalk.ArgVar.comment="I am an argument of a method or block.";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isArgVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1144,7 +1144,7 @@ smalltalk.ArgVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isImmutable",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1164,7 +1164,7 @@ smalltalk.ClassRefVar.comment="I am an class reference variable";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "alias",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1183,7 +1183,7 @@ smalltalk.ClassRefVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isClassRefVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1199,7 +1199,7 @@ smalltalk.ClassRefVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isImmutable",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1219,7 +1219,7 @@ smalltalk.InstanceVar.comment="I am an instance variable of a method or block.";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "alias",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1238,7 +1238,7 @@ smalltalk.InstanceVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInstanceVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1258,7 +1258,7 @@ smalltalk.PseudoVar.comment="I am an pseudo variable.\x0a\x0aThe five Smalltalk
 smalltalk.addMethod(
 smalltalk.method({
 selector: "alias",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1276,7 +1276,7 @@ smalltalk.PseudoVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isImmutable",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1292,7 +1292,7 @@ smalltalk.PseudoVar);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isPseudoVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1312,7 +1312,7 @@ smalltalk.TempVar.comment="I am an temporary variable of a method or block.";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isTempVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1332,7 +1332,7 @@ smalltalk.UnknownVar.comment="I am an unknown variable. Amber uses unknown varia
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isUnknownVar",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1352,7 +1352,7 @@ smalltalk.SemanticAnalyzer.comment="I semantically analyze the abstract syntax t
 smalltalk.addMethod(
 smalltalk.method({
 selector: "classReferences",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Set(){return smalltalk.Set||(typeof Set=="undefined"?nil:Set)}
@@ -1377,7 +1377,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "errorShadowingVariable:",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (aString){
 var self=this;
 function $ShadowingVariableError(){return smalltalk.ShadowingVariableError||(typeof ShadowingVariableError=="undefined"?nil:ShadowingVariableError)}
@@ -1397,7 +1397,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "errorUnknownVariable:",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (aNode){
 var self=this;
 var identifier;
@@ -1433,7 +1433,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isVariableGloballyUndefined:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1449,7 +1449,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageSends",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Dictionary(){return smalltalk.Dictionary||(typeof Dictionary=="undefined"?nil:Dictionary)}
@@ -1474,7 +1474,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "newBlockScope",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 function $LexicalScope(){return smalltalk.LexicalScope||(typeof LexicalScope=="undefined"?nil:LexicalScope)}
@@ -1493,7 +1493,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "newMethodScope",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 function $MethodLexicalScope(){return smalltalk.MethodLexicalScope||(typeof MethodLexicalScope=="undefined"?nil:MethodLexicalScope)}
@@ -1512,7 +1512,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "newScopeOfClass:",
-category: 'factory',
+protocol: 'factory',
 fn: function (aLexicalScopeClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1533,7 +1533,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "nextBlockIndex",
-category: 'private',
+protocol: 'private',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1559,7 +1559,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "popScope",
-category: 'scope',
+protocol: 'scope',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1582,7 +1582,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "pushScope:",
-category: 'scope',
+protocol: 'scope',
 fn: function (aScope){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1599,7 +1599,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "superSends",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Dictionary(){return smalltalk.Dictionary||(typeof Dictionary=="undefined"?nil:Dictionary)}
@@ -1624,7 +1624,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1642,7 +1642,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1658,7 +1658,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "validateVariableScope:",
-category: 'scope',
+protocol: 'scope',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1680,7 +1680,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitAssignmentNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1697,7 +1697,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitBlockNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1723,7 +1723,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitCascadeNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1750,7 +1750,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitMethodNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1784,7 +1784,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitReturnNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1808,7 +1808,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitSendNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 function $Set(){return smalltalk.Set||(typeof Set=="undefined"?nil:Set)}
@@ -1879,7 +1879,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitSequenceNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1900,7 +1900,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "visitVariableNode:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aNode){
 var self=this;
 var binding;
@@ -1954,7 +1954,7 @@ smalltalk.SemanticAnalyzer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 74 - 74
js/Compiler-Tests.js

@@ -6,7 +6,7 @@ smalltalk.addClass('ASTParsingTest', smalltalk.TestCase, [], 'Compiler-Tests');
 smalltalk.addMethod(
 smalltalk.method({
 selector: "analyze:forClass:",
-category: 'convenience',
+protocol: 'convenience',
 fn: function (aNode,aClass){
 var self=this;
 function $SemanticAnalyzer(){return smalltalk.SemanticAnalyzer||(typeof SemanticAnalyzer=="undefined"?nil:SemanticAnalyzer)}
@@ -24,7 +24,7 @@ smalltalk.ASTParsingTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "parse:",
-category: 'parsing',
+protocol: 'parsing',
 fn: function (aString){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -43,7 +43,7 @@ smalltalk.ASTParsingTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "parse:forClass:",
-category: 'parsing',
+protocol: 'parsing',
 fn: function (aString,aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -64,7 +64,7 @@ smalltalk.addClass('ASTPCNodeVisitorTest', smalltalk.ASTParsingTest, [], 'Compil
 smalltalk.addMethod(
 smalltalk.method({
 selector: "astPCNodeVisitor",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 function $ASTPCNodeVisitor(){return smalltalk.ASTPCNodeVisitor||(typeof ASTPCNodeVisitor=="undefined"?nil:ASTPCNodeVisitor)}
@@ -91,7 +91,7 @@ smalltalk.ASTPCNodeVisitorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "astPCNodeVisitorForSelector:",
-category: 'factory',
+protocol: 'factory',
 fn: function (aString){
 var self=this;
 function $ASTPCNodeVisitor(){return smalltalk.ASTPCNodeVisitor||(typeof ASTPCNodeVisitor=="undefined"?nil:ASTPCNodeVisitor)}
@@ -119,7 +119,7 @@ smalltalk.ASTPCNodeVisitorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testJSStatementNode",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var ast,visitor;
@@ -142,7 +142,7 @@ smalltalk.ASTPCNodeVisitorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testMessageSend",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var ast;
@@ -165,7 +165,7 @@ smalltalk.ASTPCNodeVisitorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testMessageSendWithBlocks",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var ast;
@@ -188,7 +188,7 @@ smalltalk.ASTPCNodeVisitorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testMessageSendWithInlining",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var ast;
@@ -224,7 +224,7 @@ smalltalk.ASTPCNodeVisitorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testNoMessageSend",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var ast;
@@ -247,7 +247,7 @@ smalltalk.ASTPCNodeVisitorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testPC",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var ast,visitor;
@@ -273,7 +273,7 @@ smalltalk.addClass('CodeGeneratorTest', smalltalk.ASTParsingTest, ['receiver'],
 smalltalk.addMethod(
 smalltalk.method({
 selector: "codeGeneratorClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $CodeGenerator(){return smalltalk.CodeGenerator||(typeof CodeGenerator=="undefined"?nil:CodeGenerator)}
@@ -290,7 +290,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compiler",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 function $Compiler(){return smalltalk.Compiler||(typeof Compiler=="undefined"?nil:Compiler)}
@@ -312,7 +312,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setUp",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $DoIt(){return smalltalk.DoIt||(typeof DoIt=="undefined"?nil:DoIt)}
@@ -329,7 +329,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "should:receiver:return:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aString,anObject,aResult){
 var self=this;
 var method,result;
@@ -354,7 +354,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "should:return:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aString,anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -372,7 +372,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tearDown",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -387,7 +387,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testAssignment",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -407,7 +407,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testBackslashSelectors",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -425,7 +425,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testBlockReturn",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -445,7 +445,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testCascades",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -461,7 +461,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testDynamicArrayElementsOrdered",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -479,7 +479,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testDynamicDictionaryElementsOrdered",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -499,7 +499,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testGlobalVar",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 function $BlockClosure(){return smalltalk.BlockClosure||(typeof BlockClosure=="undefined"?nil:BlockClosure)}
@@ -520,7 +520,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testInnerTemporalDependentElementsOrdered",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 function $Array(){return smalltalk.Array||(typeof Array=="undefined"?nil:Array)}
@@ -569,7 +569,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testJSStatement",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -585,7 +585,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testLiterals",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -623,7 +623,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testLocalReturn",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -647,7 +647,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testMessageSends",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -671,7 +671,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testMultipleSequences",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -687,7 +687,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testMutableLiterals",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -703,7 +703,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testNestedIfTrue",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -725,7 +725,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testNestedSends",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 function $Point(){return smalltalk.Point||(typeof Point=="undefined"?nil:Point)}
@@ -742,7 +742,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testNonLocalReturn",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -764,7 +764,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testPascalCaseGlobal",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -782,7 +782,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testSendReceiverAndArgumentsOrdered",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 function $Array(){return smalltalk.Array||(typeof Array=="undefined"?nil:Array)}
@@ -801,7 +801,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testSuperSend",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -817,7 +817,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testTempVariables",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -843,7 +843,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testThisContext",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -859,7 +859,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testifFalse",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -881,7 +881,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testifFalseIfTrue",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -903,7 +903,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testifNil",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -925,7 +925,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testifNilIfNotNil",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -947,7 +947,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testifNotNil",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -969,7 +969,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testifNotNilWithArgument",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -995,7 +995,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testifTrue",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1017,7 +1017,7 @@ smalltalk.CodeGeneratorTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testifTrueIfFalse",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1042,7 +1042,7 @@ smalltalk.addClass('InliningCodeGeneratorTest', smalltalk.CodeGeneratorTest, [],
 smalltalk.addMethod(
 smalltalk.method({
 selector: "codeGeneratorClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $InliningCodeGenerator(){return smalltalk.InliningCodeGenerator||(typeof InliningCodeGenerator=="undefined"?nil:InliningCodeGenerator)}
@@ -1062,7 +1062,7 @@ smalltalk.addClass('InterpreterTest', smalltalk.CodeGeneratorTest, [], 'Compiler
 smalltalk.addMethod(
 smalltalk.method({
 selector: "analyze:forClass:",
-category: 'parsing',
+protocol: 'parsing',
 fn: function (aNode,aClass){
 var self=this;
 function $SemanticAnalyzer(){return smalltalk.SemanticAnalyzer||(typeof SemanticAnalyzer=="undefined"?nil:SemanticAnalyzer)}
@@ -1080,7 +1080,7 @@ smalltalk.InterpreterTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "interpret:receiver:withArguments:",
-category: 'private',
+protocol: 'private',
 fn: function (aString,anObject,aDictionary){
 var self=this;
 var ctx,interpreter;
@@ -1117,7 +1117,7 @@ smalltalk.InterpreterTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "parse:",
-category: 'parsing',
+protocol: 'parsing',
 fn: function (aString){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -1136,7 +1136,7 @@ smalltalk.InterpreterTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "parse:forClass:",
-category: 'parsing',
+protocol: 'parsing',
 fn: function (aString,aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1154,7 +1154,7 @@ smalltalk.InterpreterTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "should:receiver:return:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aString,anObject,aResult){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1173,7 +1173,7 @@ smalltalk.InterpreterTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "should:return:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aString,anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1194,7 +1194,7 @@ smalltalk.addClass('ScopeVarTest', smalltalk.TestCase, [], 'Compiler-Tests');
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testClassRefVar",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var node;
@@ -1224,7 +1224,7 @@ smalltalk.ScopeVarTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testInstanceVar",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var node,scope;
@@ -1251,7 +1251,7 @@ smalltalk.ScopeVarTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testPseudoVar",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var node,pseudoVars;
@@ -1281,7 +1281,7 @@ smalltalk.ScopeVarTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testTempVar",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var node,scope;
@@ -1308,7 +1308,7 @@ smalltalk.ScopeVarTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testUnknownVar",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var node;
@@ -1336,7 +1336,7 @@ smalltalk.addClass('SemanticAnalyzerTest', smalltalk.TestCase, ['analyzer'], 'Co
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setUp",
-category: 'running',
+protocol: 'running',
 fn: function (){
 var self=this;
 function $SemanticAnalyzer(){return smalltalk.SemanticAnalyzer||(typeof SemanticAnalyzer=="undefined"?nil:SemanticAnalyzer)}
@@ -1354,7 +1354,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testAssignment",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1377,7 +1377,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testNonLocalReturn",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1397,7 +1397,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testNonLocalReturn2",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1417,7 +1417,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testScope",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1444,7 +1444,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testScope2",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1479,7 +1479,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testScopeLevel",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1519,7 +1519,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testUnknownVariables",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1542,7 +1542,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testUnknownVariablesWithScope",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1565,7 +1565,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testVariableShadowing",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1584,7 +1584,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testVariableShadowing2",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1607,7 +1607,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testVariableShadowing3",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1626,7 +1626,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testVariableShadowing4",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1645,7 +1645,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testVariableShadowing5",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;
@@ -1668,7 +1668,7 @@ smalltalk.SemanticAnalyzerTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testVariablesLookup",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var src,ast;

+ 5 - 5
js/Examples.js

@@ -7,7 +7,7 @@ smalltalk.Counter.comment="This is a trivial Widget example mimicking the classi
 smalltalk.addMethod(
 smalltalk.method({
 selector: "decrease",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -27,7 +27,7 @@ smalltalk.Counter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "increase",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -47,7 +47,7 @@ smalltalk.Counter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -64,7 +64,7 @@ smalltalk.Counter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -101,7 +101,7 @@ smalltalk.Counter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tryExample",
-category: 'example',
+protocol: 'example',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 27 - 27
js/Helios-Announcements.js

@@ -6,7 +6,7 @@ smalltalk.addClass('HLAboutToChange', smalltalk.Object, ['actionBlock'], 'Helios
 smalltalk.addMethod(
 smalltalk.method({
 selector: "actionBlock",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -24,7 +24,7 @@ smalltalk.HLAboutToChange);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "actionBlock:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -45,7 +45,7 @@ smalltalk.HLAnnouncement.comment="I am the root of the announcement class hierar
 smalltalk.addMethod(
 smalltalk.method({
 selector: "heliosClass",
-category: 'helios',
+protocol: 'helios',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -64,7 +64,7 @@ smalltalk.HLCodeHandled.comment="I am the root class of announcements emitted by
 smalltalk.addMethod(
 smalltalk.method({
 selector: "code",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -82,7 +82,7 @@ smalltalk.HLCodeHandled);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "code:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -99,7 +99,7 @@ smalltalk.HLCodeHandled);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aCodeModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -138,7 +138,7 @@ smalltalk.addClass('HLDebuggerAnnouncement', smalltalk.HLAnnouncement, ['context
 smalltalk.addMethod(
 smalltalk.method({
 selector: "context",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -156,7 +156,7 @@ smalltalk.HLDebuggerAnnouncement);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "context:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -175,7 +175,7 @@ smalltalk.addClass('HLDebuggerContextSelected', smalltalk.HLDebuggerAnnouncement
 smalltalk.addMethod(
 smalltalk.method({
 selector: "context",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -193,7 +193,7 @@ smalltalk.HLDebuggerContextSelected);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "context:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -224,7 +224,7 @@ smalltalk.addClass('HLErrorRaised', smalltalk.HLAnnouncement, ['error'], 'Helios
 smalltalk.addMethod(
 smalltalk.method({
 selector: "error",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -242,7 +242,7 @@ smalltalk.HLErrorRaised);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "error:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anError){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -264,7 +264,7 @@ smalltalk.addClass('HLParseErrorRaised', smalltalk.HLErrorRaised, ['line', 'colu
 smalltalk.addMethod(
 smalltalk.method({
 selector: "column",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -282,7 +282,7 @@ smalltalk.HLParseErrorRaised);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "column:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -298,7 +298,7 @@ smalltalk.HLParseErrorRaised);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "line",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -316,7 +316,7 @@ smalltalk.HLParseErrorRaised);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "line:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -332,7 +332,7 @@ smalltalk.HLParseErrorRaised);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "message",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -350,7 +350,7 @@ smalltalk.HLParseErrorRaised);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "message:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -390,7 +390,7 @@ smalltalk.addClass('HLInstVarAdded', smalltalk.HLAnnouncement, ['theClass', 'var
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -408,7 +408,7 @@ smalltalk.HLInstVarAdded);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -424,7 +424,7 @@ smalltalk.HLInstVarAdded);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variableName",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -442,7 +442,7 @@ smalltalk.HLInstVarAdded);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variableName:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -461,7 +461,7 @@ smalltalk.addClass('HLItemSelected', smalltalk.HLAnnouncement, ['item'], 'Helios
 smalltalk.addMethod(
 smalltalk.method({
 selector: "item",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -479,7 +479,7 @@ smalltalk.HLItemSelected);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "item:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -496,7 +496,7 @@ smalltalk.HLItemSelected);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (anItem){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -537,7 +537,7 @@ smalltalk.addClass('HLSearchReferences', smalltalk.HLAnnouncement, ['searchStrin
 smalltalk.addMethod(
 smalltalk.method({
 selector: "searchString",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -555,7 +555,7 @@ smalltalk.HLSearchReferences);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "searchString:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

File diff suppressed because it is too large
+ 112 - 112
js/Helios-Browser.js


+ 34 - 34
js/Helios-Commands-Browser.js

@@ -7,7 +7,7 @@ smalltalk.addClass('HLBrowserCommand', smalltalk.HLToolCommand, [], 'Helios-Comm
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isValidFor:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -28,7 +28,7 @@ smalltalk.addClass('HLBrowserGoToCommand', smalltalk.HLBrowserCommand, [], 'Heli
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isValidFor:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -46,7 +46,7 @@ smalltalk.HLBrowserGoToCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -62,7 +62,7 @@ smalltalk.HLBrowserGoToCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -80,7 +80,7 @@ smalltalk.addClass('HLGoToClassesCommand', smalltalk.HLBrowserGoToCommand, [], '
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -97,7 +97,7 @@ smalltalk.HLGoToClassesCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -113,7 +113,7 @@ smalltalk.HLGoToClassesCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -131,7 +131,7 @@ smalltalk.addClass('HLGoToMethodsCommand', smalltalk.HLBrowserGoToCommand, [], '
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -148,7 +148,7 @@ smalltalk.HLGoToMethodsCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -164,7 +164,7 @@ smalltalk.HLGoToMethodsCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -182,7 +182,7 @@ smalltalk.addClass('HLGoToPackagesCommand', smalltalk.HLBrowserGoToCommand, [],
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -199,7 +199,7 @@ smalltalk.HLGoToPackagesCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -215,7 +215,7 @@ smalltalk.HLGoToPackagesCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -233,7 +233,7 @@ smalltalk.addClass('HLGoToProtocolsCommand', smalltalk.HLBrowserGoToCommand, [],
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -250,7 +250,7 @@ smalltalk.HLGoToProtocolsCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -266,7 +266,7 @@ smalltalk.HLGoToProtocolsCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -284,7 +284,7 @@ smalltalk.addClass('HLGoToSourceCodeCommand', smalltalk.HLBrowserGoToCommand, []
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -301,7 +301,7 @@ smalltalk.HLGoToSourceCodeCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -317,7 +317,7 @@ smalltalk.HLGoToSourceCodeCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -335,7 +335,7 @@ smalltalk.addClass('HLEditCommentCommand', smalltalk.HLBrowserCommand, [], 'Heli
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -351,7 +351,7 @@ smalltalk.HLEditCommentCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -376,7 +376,7 @@ smalltalk.HLEditCommentCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -392,7 +392,7 @@ smalltalk.HLEditCommentCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -411,7 +411,7 @@ smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Co
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -427,7 +427,7 @@ smalltalk.HLToggleCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -445,7 +445,7 @@ smalltalk.addClass('HLToggleClassCommentCommand', smalltalk.HLToggleCommand, [],
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -465,7 +465,7 @@ smalltalk.HLToggleClassCommentCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -481,7 +481,7 @@ smalltalk.HLToggleClassCommentCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -499,7 +499,7 @@ smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'H
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -516,7 +516,7 @@ smalltalk.HLToggleClassSideCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -532,7 +532,7 @@ smalltalk.HLToggleClassSideCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -550,7 +550,7 @@ smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [],
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -567,7 +567,7 @@ smalltalk.HLToggleInstanceSideCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -583,7 +583,7 @@ smalltalk.HLToggleInstanceSideCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 51 - 51
js/Helios-Commands-Core.js

@@ -6,7 +6,7 @@ smalltalk.addClass('HLCommand', smalltalk.Object, ['input'], 'Helios-Commands-Co
 smalltalk.addMethod(
 smalltalk.method({
 selector: "asActionBinding",
-category: 'converting',
+protocol: 'converting',
 fn: function (){
 var self=this;
 function $HLBindingAction(){return smalltalk.HLBindingAction||(typeof HLBindingAction=="undefined"?nil:HLBindingAction)}
@@ -28,7 +28,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "asBinding",
-category: 'converting',
+protocol: 'converting',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -51,7 +51,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "asGroupBinding",
-category: 'converting',
+protocol: 'converting',
 fn: function (){
 var self=this;
 function $HLBindingGroup(){return smalltalk.HLBindingGroup||(typeof HLBindingGroup=="undefined"?nil:HLBindingGroup)}
@@ -70,7 +70,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commandError:",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -86,7 +86,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultInput",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -102,7 +102,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "documentation",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -120,7 +120,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -135,7 +135,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "input",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -153,7 +153,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "input:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -172,7 +172,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputCompletion",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -190,7 +190,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -208,7 +208,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isAction",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -226,7 +226,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -242,7 +242,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isBindingGroup",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -260,7 +260,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInputRequired",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -276,7 +276,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -294,7 +294,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "keyCode",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -312,7 +312,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -330,7 +330,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "menuLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -348,7 +348,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "registerOn:",
-category: 'registration',
+protocol: 'registration',
 fn: function (aBinding){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -367,7 +367,7 @@ smalltalk.HLCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "concreteClasses",
-category: 'registration',
+protocol: 'registration',
 fn: function (){
 var self=this;
 var classes;
@@ -396,7 +396,7 @@ smalltalk.HLCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "documentation",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -412,7 +412,7 @@ smalltalk.HLCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isConcrete",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -430,7 +430,7 @@ smalltalk.HLCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isValidFor:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -446,7 +446,7 @@ smalltalk.HLCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -462,7 +462,7 @@ smalltalk.HLCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -478,7 +478,7 @@ smalltalk.HLCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "menuLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -496,7 +496,7 @@ smalltalk.HLCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "registerConcreteClassesOn:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aBinding){
 var self=this;
 var newBinding;
@@ -525,7 +525,7 @@ smalltalk.HLCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "registerOn:",
-category: 'registration',
+protocol: 'registration',
 fn: function (aBinding){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -545,7 +545,7 @@ smalltalk.addClass('HLCloseTabCommand', smalltalk.HLCommand, [], 'Helios-Command
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 function $HLManager(){return smalltalk.HLManager||(typeof HLManager=="undefined"?nil:HLManager)}
@@ -563,7 +563,7 @@ smalltalk.HLCloseTabCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -579,7 +579,7 @@ smalltalk.HLCloseTabCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -597,7 +597,7 @@ smalltalk.addClass('HLModelCommand', smalltalk.HLCommand, ['model'], 'Helios-Com
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -615,7 +615,7 @@ smalltalk.HLModelCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -632,7 +632,7 @@ smalltalk.HLModelCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "for:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -650,7 +650,7 @@ smalltalk.HLModelCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "registerConcreteClassesOn:for:",
-category: 'registration',
+protocol: 'registration',
 fn: function (aBinding,aModel){
 var self=this;
 var newBinding;
@@ -682,7 +682,7 @@ smalltalk.HLModelCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "registerOn:for:",
-category: 'registration',
+protocol: 'registration',
 fn: function (aBinding,aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -703,7 +703,7 @@ smalltalk.addClass('HLOpenCommand', smalltalk.HLCommand, [], 'Helios-Commands-Co
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -719,7 +719,7 @@ smalltalk.HLOpenCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -737,7 +737,7 @@ smalltalk.addClass('HLOpenBrowserCommand', smalltalk.HLOpenCommand, [], 'Helios-
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 function $HLBrowser(){return smalltalk.HLBrowser||(typeof HLBrowser=="undefined"?nil:HLBrowser)}
@@ -757,7 +757,7 @@ smalltalk.HLOpenBrowserCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -773,7 +773,7 @@ smalltalk.HLOpenBrowserCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -791,7 +791,7 @@ smalltalk.addClass('HLOpenWorkspaceCommand', smalltalk.HLOpenCommand, [], 'Helio
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 function $HLWorkspace(){return smalltalk.HLWorkspace||(typeof HLWorkspace=="undefined"?nil:HLWorkspace)}
@@ -811,7 +811,7 @@ smalltalk.HLOpenWorkspaceCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -827,7 +827,7 @@ smalltalk.HLOpenWorkspaceCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -845,7 +845,7 @@ smalltalk.addClass('HLSwitchTabCommand', smalltalk.HLCommand, [], 'Helios-Comman
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 var activeTab;
@@ -884,7 +884,7 @@ smalltalk.HLSwitchTabCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectedTab",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLManager(){return smalltalk.HLManager||(typeof HLManager=="undefined"?nil:HLManager)}
@@ -903,7 +903,7 @@ smalltalk.HLSwitchTabCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabs",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLManager(){return smalltalk.HLManager||(typeof HLManager=="undefined"?nil:HLManager)}
@@ -923,7 +923,7 @@ smalltalk.HLSwitchTabCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -939,7 +939,7 @@ smalltalk.HLSwitchTabCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -958,7 +958,7 @@ smalltalk.addClass('HLViewCommand', smalltalk.HLCommand, [], 'Helios-Commands-Co
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 111 - 111
js/Helios-Commands-Tools.js

@@ -6,7 +6,7 @@ smalltalk.addClass('HLToolCommand', smalltalk.HLModelCommand, [], 'Helios-Comman
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -23,7 +23,7 @@ smalltalk.HLToolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "for:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aToolModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -44,7 +44,7 @@ smalltalk.HLToolCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isValidFor:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -64,7 +64,7 @@ smalltalk.addClass('HLCommitPackageCommand', smalltalk.HLToolCommand, [], 'Helio
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -80,7 +80,7 @@ smalltalk.HLCommitPackageCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -96,7 +96,7 @@ smalltalk.HLCommitPackageCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -113,7 +113,7 @@ smalltalk.HLCommitPackageCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -129,7 +129,7 @@ smalltalk.HLCommitPackageCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -148,7 +148,7 @@ smalltalk.addClass('HLCopyCommand', smalltalk.HLToolCommand, [], 'Helios-Command
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -164,7 +164,7 @@ smalltalk.HLCopyCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -182,7 +182,7 @@ smalltalk.addClass('HLCopyClassCommand', smalltalk.HLCopyCommand, [], 'Helios-Co
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -198,7 +198,7 @@ smalltalk.HLCopyClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultInput",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -216,7 +216,7 @@ smalltalk.HLCopyClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "displayLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -232,7 +232,7 @@ smalltalk.HLCopyClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -248,7 +248,7 @@ smalltalk.HLCopyClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -266,7 +266,7 @@ smalltalk.HLCopyClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInputRequired",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -283,7 +283,7 @@ smalltalk.HLCopyClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -299,7 +299,7 @@ smalltalk.HLCopyClassCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -315,7 +315,7 @@ smalltalk.HLCopyClassCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "menuLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -334,7 +334,7 @@ smalltalk.addClass('HLFindCommand', smalltalk.HLToolCommand, [], 'Helios-Command
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -350,7 +350,7 @@ smalltalk.HLFindCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -368,7 +368,7 @@ smalltalk.addClass('HLFindClassCommand', smalltalk.HLFindCommand, [], 'Helios-Co
 smalltalk.addMethod(
 smalltalk.method({
 selector: "displayLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -384,7 +384,7 @@ smalltalk.HLFindClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -400,7 +400,7 @@ smalltalk.HLFindClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputCompletion",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -418,7 +418,7 @@ smalltalk.HLFindClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -434,7 +434,7 @@ smalltalk.HLFindClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInputRequired",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -451,7 +451,7 @@ smalltalk.HLFindClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isValidFor:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -469,7 +469,7 @@ smalltalk.HLFindClassCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -485,7 +485,7 @@ smalltalk.HLFindClassCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -503,7 +503,7 @@ smalltalk.addClass('HLFindReferencesCommand', smalltalk.HLFindCommand, [], 'Heli
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultInput",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -537,7 +537,7 @@ smalltalk.HLFindReferencesCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "displayLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -553,7 +553,7 @@ smalltalk.HLFindReferencesCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 function $HLReferences(){return smalltalk.HLReferences||(typeof HLReferences=="undefined"?nil:HLReferences)}
@@ -573,7 +573,7 @@ smalltalk.HLFindReferencesCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputCompletion",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -594,7 +594,7 @@ smalltalk.HLFindReferencesCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -610,7 +610,7 @@ smalltalk.HLFindReferencesCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInputRequired",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -627,7 +627,7 @@ smalltalk.HLFindReferencesCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -643,7 +643,7 @@ smalltalk.HLFindReferencesCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -662,7 +662,7 @@ smalltalk.addClass('HLMoveToCommand', smalltalk.HLToolCommand, [], 'Helios-Comma
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -678,7 +678,7 @@ smalltalk.HLMoveToCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -696,7 +696,7 @@ smalltalk.addClass('HLMoveClassToCommand', smalltalk.HLMoveToCommand, [], 'Helio
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -715,7 +715,7 @@ smalltalk.HLMoveClassToCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -731,7 +731,7 @@ smalltalk.HLMoveClassToCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -749,7 +749,7 @@ smalltalk.addClass('HLMoveClassToPackageCommand', smalltalk.HLMoveClassToCommand
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -765,7 +765,7 @@ smalltalk.HLMoveClassToPackageCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "displayLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -781,7 +781,7 @@ smalltalk.HLMoveClassToPackageCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -797,7 +797,7 @@ smalltalk.HLMoveClassToPackageCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputCompletion",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -815,7 +815,7 @@ smalltalk.HLMoveClassToPackageCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -831,7 +831,7 @@ smalltalk.HLMoveClassToPackageCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInputRequired",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -848,7 +848,7 @@ smalltalk.HLMoveClassToPackageCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -864,7 +864,7 @@ smalltalk.HLMoveClassToPackageCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -880,7 +880,7 @@ smalltalk.HLMoveClassToPackageCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "menuLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -898,7 +898,7 @@ smalltalk.addClass('HLMoveMethodToCommand', smalltalk.HLMoveToCommand, [], 'Heli
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -914,7 +914,7 @@ smalltalk.HLMoveMethodToCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -933,7 +933,7 @@ smalltalk.HLMoveMethodToCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -949,7 +949,7 @@ smalltalk.HLMoveMethodToCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -967,7 +967,7 @@ smalltalk.addClass('HLMoveMethodToClassCommand', smalltalk.HLMoveMethodToCommand
 smalltalk.addMethod(
 smalltalk.method({
 selector: "displayLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -983,7 +983,7 @@ smalltalk.HLMoveMethodToClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -999,7 +999,7 @@ smalltalk.HLMoveMethodToClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputCompletion",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1017,7 +1017,7 @@ smalltalk.HLMoveMethodToClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1033,7 +1033,7 @@ smalltalk.HLMoveMethodToClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInputRequired",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1050,7 +1050,7 @@ smalltalk.HLMoveMethodToClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1066,7 +1066,7 @@ smalltalk.HLMoveMethodToClassCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1082,7 +1082,7 @@ smalltalk.HLMoveMethodToClassCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "menuLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1100,7 +1100,7 @@ smalltalk.addClass('HLMoveMethodToProtocolCommand', smalltalk.HLMoveMethodToComm
 smalltalk.addMethod(
 smalltalk.method({
 selector: "displayLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1116,7 +1116,7 @@ smalltalk.HLMoveMethodToProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1132,7 +1132,7 @@ smalltalk.HLMoveMethodToProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputCompletion",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1150,7 +1150,7 @@ smalltalk.HLMoveMethodToProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1166,7 +1166,7 @@ smalltalk.HLMoveMethodToProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInputRequired",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1183,7 +1183,7 @@ smalltalk.HLMoveMethodToProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1199,7 +1199,7 @@ smalltalk.HLMoveMethodToProtocolCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1215,7 +1215,7 @@ smalltalk.HLMoveMethodToProtocolCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "menuLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1234,7 +1234,7 @@ smalltalk.addClass('HLRemoveCommand', smalltalk.HLToolCommand, [], 'Helios-Comma
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1250,7 +1250,7 @@ smalltalk.HLRemoveCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1268,7 +1268,7 @@ smalltalk.addClass('HLRemoveClassCommand', smalltalk.HLRemoveCommand, [], 'Helio
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1284,7 +1284,7 @@ smalltalk.HLRemoveClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1300,7 +1300,7 @@ smalltalk.HLRemoveClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1319,7 +1319,7 @@ smalltalk.HLRemoveClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1335,7 +1335,7 @@ smalltalk.HLRemoveClassCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1351,7 +1351,7 @@ smalltalk.HLRemoveClassCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "menuLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1369,7 +1369,7 @@ smalltalk.addClass('HLRemoveMethodCommand', smalltalk.HLRemoveCommand, [], 'Heli
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1385,7 +1385,7 @@ smalltalk.HLRemoveMethodCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1401,7 +1401,7 @@ smalltalk.HLRemoveMethodCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1420,7 +1420,7 @@ smalltalk.HLRemoveMethodCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1436,7 +1436,7 @@ smalltalk.HLRemoveMethodCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1452,7 +1452,7 @@ smalltalk.HLRemoveMethodCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "menuLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1470,7 +1470,7 @@ smalltalk.addClass('HLRemoveProtocolCommand', smalltalk.HLRemoveCommand, [], 'He
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1486,7 +1486,7 @@ smalltalk.HLRemoveProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1502,7 +1502,7 @@ smalltalk.HLRemoveProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1521,7 +1521,7 @@ smalltalk.HLRemoveProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1537,7 +1537,7 @@ smalltalk.HLRemoveProtocolCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1553,7 +1553,7 @@ smalltalk.HLRemoveProtocolCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "menuLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1572,7 +1572,7 @@ smalltalk.addClass('HLRenameCommand', smalltalk.HLToolCommand, [], 'Helios-Comma
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1588,7 +1588,7 @@ smalltalk.HLRenameCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1606,7 +1606,7 @@ smalltalk.addClass('HLRenameClassCommand', smalltalk.HLRenameCommand, [], 'Helio
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1622,7 +1622,7 @@ smalltalk.HLRenameClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultInput",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1640,7 +1640,7 @@ smalltalk.HLRenameClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "displayLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1656,7 +1656,7 @@ smalltalk.HLRenameClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1672,7 +1672,7 @@ smalltalk.HLRenameClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1690,7 +1690,7 @@ smalltalk.HLRenameClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInputRequired",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1707,7 +1707,7 @@ smalltalk.HLRenameClassCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1723,7 +1723,7 @@ smalltalk.HLRenameClassCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1739,7 +1739,7 @@ smalltalk.HLRenameClassCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "menuLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1757,7 +1757,7 @@ smalltalk.addClass('HLRenameProtocolCommand', smalltalk.HLRenameCommand, [], 'He
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1773,7 +1773,7 @@ smalltalk.HLRenameProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultInput",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1791,7 +1791,7 @@ smalltalk.HLRenameProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "displayLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1807,7 +1807,7 @@ smalltalk.HLRenameProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute",
-category: 'executing',
+protocol: 'executing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1823,7 +1823,7 @@ smalltalk.HLRenameProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1841,7 +1841,7 @@ smalltalk.HLRenameProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isInputRequired",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1858,7 +1858,7 @@ smalltalk.HLRenameProtocolCommand);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1874,7 +1874,7 @@ smalltalk.HLRenameProtocolCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1890,7 +1890,7 @@ smalltalk.HLRenameProtocolCommand.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "menuLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

File diff suppressed because it is too large
+ 112 - 112
js/Helios-Core.js


+ 50 - 50
js/Helios-Debugger.js

@@ -6,7 +6,7 @@ smalltalk.addClass('HLContextInspectorDecorator', smalltalk.Object, ['context'],
 smalltalk.addMethod(
 smalltalk.method({
 selector: "context",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -24,7 +24,7 @@ smalltalk.HLContextInspectorDecorator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initializeFromContext:",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (aContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -40,7 +40,7 @@ smalltalk.HLContextInspectorDecorator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspectOn:",
-category: 'inspecting',
+protocol: 'inspecting',
 fn: function (anInspector){
 var self=this;
 var variables,inspectedContext;
@@ -85,7 +85,7 @@ smalltalk.HLContextInspectorDecorator);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -109,7 +109,7 @@ smalltalk.HLDebugger.comment="I am the main widget for the Helios debugger.";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "codeWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLDebuggerCodeWidget(){return smalltalk.HLDebuggerCodeWidget||(typeof HLDebuggerCodeWidget=="undefined"?nil:HLDebuggerCodeWidget)}
@@ -137,7 +137,7 @@ smalltalk.HLDebugger);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "focus",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -153,7 +153,7 @@ smalltalk.HLDebugger);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initializeFromMethodContext:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aMethodContext){
 var self=this;
 function $HLDebuggerModel(){return smalltalk.HLDebuggerModel||(typeof HLDebuggerModel=="undefined"?nil:HLDebuggerModel)}
@@ -171,7 +171,7 @@ smalltalk.HLDebugger);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspectorWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLInspectorWidget(){return smalltalk.HLInspectorWidget||(typeof HLInspectorWidget=="undefined"?nil:HLInspectorWidget)}
@@ -196,7 +196,7 @@ smalltalk.HLDebugger);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLDebuggerModel(){return smalltalk.HLDebuggerModel||(typeof HLDebuggerModel=="undefined"?nil:HLDebuggerModel)}
@@ -221,7 +221,7 @@ smalltalk.HLDebugger);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "observeModel",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLDebuggerContextSelected(){return smalltalk.HLDebuggerContextSelected||(typeof HLDebuggerContextSelected=="undefined"?nil:HLDebuggerContextSelected)}
@@ -246,7 +246,7 @@ smalltalk.HLDebugger);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onContextSelected:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anAnnouncement){
 var self=this;
 function $HLContextInspectorDecorator(){return smalltalk.HLContextInspectorDecorator||(typeof HLContextInspectorDecorator=="undefined"?nil:HLContextInspectorDecorator)}
@@ -263,7 +263,7 @@ smalltalk.HLDebugger);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "registerBindingsOn:",
-category: 'keybindings',
+protocol: 'keybindings',
 fn: function (aBindingGroup){
 var self=this;
 function $HLToolCommand(){return smalltalk.HLToolCommand||(typeof HLToolCommand=="undefined"?nil:HLToolCommand)}
@@ -280,7 +280,7 @@ smalltalk.HLDebugger);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderContentOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 function $HLContainer(){return smalltalk.HLContainer||(typeof HLContainer=="undefined"?nil:HLContainer)}
@@ -304,7 +304,7 @@ smalltalk.HLDebugger);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "stackListWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLStackListWidget(){return smalltalk.HLStackListWidget||(typeof HLStackListWidget=="undefined"?nil:HLStackListWidget)}
@@ -332,7 +332,7 @@ smalltalk.HLDebugger);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unregister",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -351,7 +351,7 @@ smalltalk.HLDebugger);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aMethodContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -372,7 +372,7 @@ smalltalk.HLDebugger.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -388,7 +388,7 @@ smalltalk.HLDebugger.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -406,7 +406,7 @@ smalltalk.addClass('HLDebuggerCodeWidget', smalltalk.HLBrowserCodeWidget, [], 'H
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addStopAt:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -422,7 +422,7 @@ smalltalk.HLDebuggerCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "clearHighlight",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -438,7 +438,7 @@ smalltalk.HLDebuggerCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "contents:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -455,7 +455,7 @@ smalltalk.HLDebuggerCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "editorOptions",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -476,7 +476,7 @@ smalltalk.HLDebuggerCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "highlight",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -492,7 +492,7 @@ smalltalk.HLDebuggerCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "highlightNode:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aNode){
 var self=this;
 var token;
@@ -556,7 +556,7 @@ smalltalk.HLDebuggerCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "observeBrowserModel",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLDebuggerContextSelected(){return smalltalk.HLDebuggerContextSelected||(typeof HLDebuggerContextSelected=="undefined"?nil:HLDebuggerContextSelected)}
@@ -589,7 +589,7 @@ smalltalk.HLDebuggerCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onContextSelected",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -609,7 +609,7 @@ smalltalk.HLDebuggerModel.comment="I am a model for Helios debugging.\x0a\x0aMy
 smalltalk.addMethod(
 smalltalk.method({
 selector: "contexts",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -627,7 +627,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "currentContext",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -651,7 +651,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "currentContext:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aContext){
 var self=this;
 function $HLDebuggerContextSelected(){return smalltalk.HLDebuggerContextSelected||(typeof HLDebuggerContextSelected=="undefined"?nil:HLDebuggerContextSelected)}
@@ -678,7 +678,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initializeContexts",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 var context;
@@ -706,7 +706,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initializeFromContext:",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (aMethodContext){
 var self=this;
 function $AIContext(){return smalltalk.AIContext||(typeof AIContext=="undefined"?nil:AIContext)}
@@ -724,7 +724,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "interpreter",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -742,7 +742,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "nextNode",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -760,7 +760,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "restart",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLDebuggerStepped(){return smalltalk.HLDebuggerStepped||(typeof HLDebuggerStepped=="undefined"?nil:HLDebuggerStepped)}
@@ -782,7 +782,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "rootContext",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -800,7 +800,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "skip",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLDebuggerStepped(){return smalltalk.HLDebuggerStepped||(typeof HLDebuggerStepped=="undefined"?nil:HLDebuggerStepped)}
@@ -822,7 +822,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "stepOver",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLDebuggerStepped(){return smalltalk.HLDebuggerStepped||(typeof HLDebuggerStepped=="undefined"?nil:HLDebuggerStepped)}
@@ -844,7 +844,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "where",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLDebuggerWhere(){return smalltalk.HLDebuggerWhere||(typeof HLDebuggerWhere=="undefined"?nil:HLDebuggerWhere)}
@@ -862,7 +862,7 @@ smalltalk.HLDebuggerModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aMethodContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -885,7 +885,7 @@ smalltalk.addClass('HLErrorHandler', smalltalk.ErrorHandler, [], 'Helios-Debugge
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handleError:",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (anError){
 var self=this;
 function $HLDebugger(){return smalltalk.HLDebugger||(typeof HLDebugger=="undefined"?nil:HLDebugger)}
@@ -911,7 +911,7 @@ smalltalk.HLErrorHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onErrorHandled",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (){
 var self=this;
 function $HLProgressWidget(){return smalltalk.HLProgressWidget||(typeof HLProgressWidget=="undefined"?nil:HLProgressWidget)}
@@ -932,7 +932,7 @@ smalltalk.HLErrorHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handleError:",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (anError){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -952,7 +952,7 @@ smalltalk.addClass('HLStackListWidget', smalltalk.HLToolListWidget, [], 'Helios-
 smalltalk.addMethod(
 smalltalk.method({
 selector: "items",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -976,7 +976,7 @@ smalltalk.HLStackListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -992,7 +992,7 @@ smalltalk.HLStackListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderButtonsOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1059,7 +1059,7 @@ smalltalk.HLStackListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "restart",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1075,7 +1075,7 @@ smalltalk.HLStackListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectItem:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1091,7 +1091,7 @@ smalltalk.HLStackListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "skip",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1107,7 +1107,7 @@ smalltalk.HLStackListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "stepOver",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1123,7 +1123,7 @@ smalltalk.HLStackListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "where",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 74 - 74
js/Helios-Inspector.js

@@ -6,7 +6,7 @@ smalltalk.addClass('HLInspectorDisplayWidget', smalltalk.HLNavigationListWidget,
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -24,7 +24,7 @@ smalltalk.HLInspectorDisplayWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -40,7 +40,7 @@ smalltalk.HLInspectorDisplayWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderContentOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -56,7 +56,7 @@ smalltalk.HLInspectorDisplayWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectionDisplayString",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (){
 var self=this;
 var selection;
@@ -84,7 +84,7 @@ smalltalk.addClass('HLInspectorModel', smalltalk.Object, ['announcer', 'environm
 smalltalk.addMethod(
 smalltalk.method({
 selector: "announcer",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Announcer(){return smalltalk.Announcer||(typeof Announcer=="undefined"?nil:Announcer)}
@@ -109,7 +109,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "code",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLCodeModel(){return smalltalk.HLCodeModel||(typeof HLCodeModel=="undefined"?nil:HLCodeModel)}
@@ -134,7 +134,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "environment",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLManager(){return smalltalk.HLManager||(typeof HLManager=="undefined"?nil:HLManager)}
@@ -158,7 +158,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "environment:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anEnvironment){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -174,7 +174,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspect:on:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anObject,anInspector){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -192,7 +192,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspectee",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -210,7 +210,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspectee:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -226,7 +226,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "instVarObjectAt:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anInstVarName){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -244,7 +244,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -267,7 +267,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -283,7 +283,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onKeyDown:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anEvent){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -315,7 +315,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectedInstVar:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anInstVarName){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -331,7 +331,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectedInstVarObject",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -349,7 +349,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selection",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -372,7 +372,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selection:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anObject){
 var self=this;
 function $HLInstanceVariableSelected(){return smalltalk.HLInstanceVariableSelected||(typeof HLInstanceVariableSelected=="undefined"?nil:HLInstanceVariableSelected)}
@@ -390,7 +390,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "subscribe:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aWidget){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -406,7 +406,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variables",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Dictionary(){return smalltalk.Dictionary||(typeof Dictionary=="undefined"?nil:Dictionary)}
@@ -430,7 +430,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variables:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -447,7 +447,7 @@ smalltalk.HLInspectorModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anEnvironment){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -470,7 +470,7 @@ smalltalk.addClass('HLInspectorVariablesWidget', smalltalk.HLNavigationListWidge
 smalltalk.addMethod(
 smalltalk.method({
 selector: "announcer",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Announcer(){return smalltalk.Announcer||(typeof Announcer=="undefined"?nil:Announcer)}
@@ -495,7 +495,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultItems",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -513,7 +513,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -531,7 +531,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -549,7 +549,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -565,7 +565,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "refresh",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -586,7 +586,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderButtonsOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 function $HLDiveRequested(){return smalltalk.HLDiveRequested||(typeof HLDiveRequested=="undefined"?nil:HLDiveRequested)}
@@ -611,7 +611,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderContentOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -628,7 +628,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderHeadOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -647,7 +647,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "resetItems",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -663,7 +663,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectItem:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -680,7 +680,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selection",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -698,7 +698,7 @@ smalltalk.HLInspectorVariablesWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variables",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -719,7 +719,7 @@ smalltalk.addClass('HLInspectorWidget', smalltalk.HLWidget, ['model', 'variables
 smalltalk.addMethod(
 smalltalk.method({
 selector: "codeWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLCodeWidget(){return smalltalk.HLCodeWidget||(typeof HLCodeWidget=="undefined"?nil:HLCodeWidget)}
@@ -748,7 +748,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "displayWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLInspectorDisplayWidget(){return smalltalk.HLInspectorDisplayWidget||(typeof HLInspectorDisplayWidget=="undefined"?nil:HLInspectorDisplayWidget)}
@@ -776,7 +776,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -793,7 +793,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspect:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -812,7 +812,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspectee",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -830,7 +830,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspectee:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -846,7 +846,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -864,7 +864,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLInspectorModel(){return smalltalk.HLInspectorModel||(typeof HLInspectorModel=="undefined"?nil:HLInspectorModel)}
@@ -889,7 +889,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -910,7 +910,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "observeCodeWidget",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLDoItExecuted(){return smalltalk.HLDoItExecuted||(typeof HLDoItExecuted=="undefined"?nil:HLDoItExecuted)}
@@ -930,7 +930,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "observeModel",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLInstanceVariableSelected(){return smalltalk.HLInstanceVariableSelected||(typeof HLInstanceVariableSelected=="undefined"?nil:HLInstanceVariableSelected)}
@@ -947,7 +947,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "observeVariablesWidget",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLDiveRequested(){return smalltalk.HLDiveRequested||(typeof HLDiveRequested=="undefined"?nil:HLDiveRequested)}
@@ -967,7 +967,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onDive",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 function $HLInspector(){return smalltalk.HLInspector||(typeof HLInspector=="undefined"?nil:HLInspector)}
@@ -987,7 +987,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onDoneIt",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1003,7 +1003,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onInspectIt",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1018,7 +1018,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onInstanceVariableSelected",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1035,7 +1035,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onPrintIt",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1050,7 +1050,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "refresh",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1066,7 +1066,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "refreshDisplayWidget",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1082,7 +1082,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "refreshVariablesWidget",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1098,7 +1098,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "register",
-category: 'registration',
+protocol: 'registration',
 fn: function (){
 var self=this;
 function $HLInspector(){return smalltalk.HLInspector||(typeof HLInspector=="undefined"?nil:HLInspector)}
@@ -1115,7 +1115,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderContentOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 function $HLHorizontalSplitter(){return smalltalk.HLHorizontalSplitter||(typeof HLHorizontalSplitter=="undefined"?nil:HLHorizontalSplitter)}
@@ -1136,7 +1136,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setLabel:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1152,7 +1152,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setVariables:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aDictionary){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1168,7 +1168,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1184,7 +1184,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unregister",
-category: 'registration',
+protocol: 'registration',
 fn: function (){
 var self=this;
 function $HLInspector(){return smalltalk.HLInspector||(typeof HLInspector=="undefined"?nil:HLInspector)}
@@ -1202,7 +1202,7 @@ smalltalk.HLInspectorWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variablesWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLInspectorVariablesWidget(){return smalltalk.HLInspectorVariablesWidget||(typeof HLInspectorVariablesWidget=="undefined"?nil:HLInspectorVariablesWidget)}
@@ -1233,7 +1233,7 @@ smalltalk.addClass('HLInspector', smalltalk.HLInspectorWidget, [], 'Helios-Inspe
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderContentOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 function $HLContainer(){return smalltalk.HLContainer||(typeof HLContainer=="undefined"?nil:HLContainer)}
@@ -1263,7 +1263,7 @@ smalltalk.HLInspector.klass.iVarNames = ['inspectors'];
 smalltalk.addMethod(
 smalltalk.method({
 selector: "canBeOpenAsTab",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1279,7 +1279,7 @@ smalltalk.HLInspector.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1296,7 +1296,7 @@ smalltalk.HLInspector.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspect:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1315,7 +1315,7 @@ smalltalk.HLInspector.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspectors",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $OrderedCollection(){return smalltalk.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}
@@ -1340,7 +1340,7 @@ smalltalk.HLInspector.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "register:",
-category: 'registration',
+protocol: 'registration',
 fn: function (anInspector){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1356,7 +1356,7 @@ smalltalk.HLInspector.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1372,7 +1372,7 @@ smalltalk.HLInspector.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1388,7 +1388,7 @@ smalltalk.HLInspector.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabPriority",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1404,7 +1404,7 @@ smalltalk.HLInspector.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unregister:",
-category: 'registration',
+protocol: 'registration',
 fn: function (anInspector){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1420,7 +1420,7 @@ smalltalk.HLInspector.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "watchChanges",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 108 - 108
js/Helios-KeyBindings.js

@@ -7,7 +7,7 @@ smalltalk.HLBinding.comment="I am the abstract representation of a keybinding in
 smalltalk.addMethod(
 smalltalk.method({
 selector: "apply",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -22,7 +22,7 @@ smalltalk.HLBinding);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "atKey:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aKey){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -38,7 +38,7 @@ smalltalk.HLBinding);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "displayLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -56,7 +56,7 @@ smalltalk.HLBinding);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -74,7 +74,7 @@ smalltalk.HLBinding);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -92,7 +92,7 @@ smalltalk.HLBinding);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "key:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -108,7 +108,7 @@ smalltalk.HLBinding);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -126,7 +126,7 @@ smalltalk.HLBinding);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -142,7 +142,7 @@ smalltalk.HLBinding);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "release",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -157,7 +157,7 @@ smalltalk.HLBinding);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderOn:html:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (aBindingHelper,html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -172,7 +172,7 @@ smalltalk.HLBinding);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "shortcut",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $String(){return smalltalk.String||(typeof String=="undefined"?nil:String)}
@@ -192,7 +192,7 @@ smalltalk.HLBinding);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:labelled:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (anInteger,aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -217,7 +217,7 @@ smalltalk.HLBindingAction.comment="My instances are the leafs of the binding tre
 smalltalk.addMethod(
 smalltalk.method({
 selector: "apply",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLKeyBinder(){return smalltalk.HLKeyBinder||(typeof HLKeyBinder=="undefined"?nil:HLKeyBinder)}
@@ -240,7 +240,7 @@ smalltalk.HLBindingAction);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "command",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -258,7 +258,7 @@ smalltalk.HLBindingAction);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "command:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aCommand){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -274,7 +274,7 @@ smalltalk.HLBindingAction);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "executeCommand",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLKeyBinder(){return smalltalk.HLKeyBinder||(typeof HLKeyBinder=="undefined"?nil:HLKeyBinder)}
@@ -292,7 +292,7 @@ smalltalk.HLBindingAction);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "input:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -308,7 +308,7 @@ smalltalk.HLBindingAction);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputBinding",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLBindingInput(){return smalltalk.HLBindingInput||(typeof HLBindingInput=="undefined"?nil:HLBindingInput)}
@@ -356,7 +356,7 @@ smalltalk.HLBindingAction);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLBindingActionInputWidget(){return smalltalk.HLBindingActionInputWidget||(typeof HLBindingActionInputWidget=="undefined"?nil:HLBindingActionInputWidget)}
@@ -394,7 +394,7 @@ smalltalk.HLBindingAction);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -416,7 +416,7 @@ smalltalk.HLBindingGroup.comment="My instances hold other bindings, either actio
 smalltalk.addMethod(
 smalltalk.method({
 selector: "activeBindings",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -437,7 +437,7 @@ smalltalk.HLBindingGroup);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "add:",
-category: 'adding',
+protocol: 'adding',
 fn: function (aBinding){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -455,7 +455,7 @@ smalltalk.HLBindingGroup);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addActionKey:labelled:callback:",
-category: 'adding',
+protocol: 'adding',
 fn: function (anInteger,aString,aBlock){
 var self=this;
 function $HLBindingAction(){return smalltalk.HLBindingAction||(typeof HLBindingAction=="undefined"?nil:HLBindingAction)}
@@ -476,7 +476,7 @@ smalltalk.HLBindingGroup);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addGroupKey:labelled:",
-category: 'add',
+protocol: 'add',
 fn: function (anInteger,aString){
 var self=this;
 function $HLBindingGroup(){return smalltalk.HLBindingGroup||(typeof HLBindingGroup=="undefined"?nil:HLBindingGroup)}
@@ -493,7 +493,7 @@ smalltalk.HLBindingGroup);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "at:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -517,7 +517,7 @@ smalltalk.HLBindingGroup);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "at:add:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString,aBinding){
 var self=this;
 var binding;
@@ -542,7 +542,7 @@ smalltalk.HLBindingGroup);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "atKey:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -566,7 +566,7 @@ smalltalk.HLBindingGroup);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "bindings",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $OrderedCollection(){return smalltalk.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}
@@ -591,7 +591,7 @@ smalltalk.HLBindingGroup);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "displayLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -609,7 +609,7 @@ smalltalk.HLBindingGroup);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -627,7 +627,7 @@ smalltalk.HLBindingGroup);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "release",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -646,7 +646,7 @@ smalltalk.HLBindingGroup);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderOn:html:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (aBindingHelper,html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -670,7 +670,7 @@ smalltalk.HLBindingActionInputWidget.comment="My instances are built when a `HLB
 smalltalk.addMethod(
 smalltalk.method({
 selector: "callback",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -696,7 +696,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "callback:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -712,7 +712,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "clearStatus",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -730,7 +730,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultValue",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -753,7 +753,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultValue:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -769,7 +769,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "errorStatus",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -786,7 +786,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "evaluate:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aString){
 var self=this;
 function $Error(){return smalltalk.Error||(typeof Error=="undefined"?nil:Error)}
@@ -814,7 +814,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ghostText",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -832,7 +832,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ghostText:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aText){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -848,7 +848,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "input",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -866,7 +866,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputCompletion",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -889,7 +889,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inputCompletion:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -905,7 +905,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "message",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -929,7 +929,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "message:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -945,7 +945,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "refresh",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -969,7 +969,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1031,7 +1031,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "status",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1055,7 +1055,7 @@ smalltalk.HLBindingActionInputWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "status:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aStatus){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1075,7 +1075,7 @@ smalltalk.HLKeyBinder.comment="My `current` instance holds keybindings for Helio
 smalltalk.addMethod(
 smalltalk.method({
 selector: "activate",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1091,7 +1091,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "activationKey",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1107,7 +1107,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "activationKeyLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1123,7 +1123,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "applyBinding:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aBinding){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1145,7 +1145,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "bindings",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1169,7 +1169,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "deactivate",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1193,7 +1193,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultBindings",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 var group;
@@ -1229,7 +1229,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "escapeKey",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1245,7 +1245,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "flushBindings",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1261,7 +1261,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handleActiveKeyDown:",
-category: 'events',
+protocol: 'events',
 fn: function (event){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1295,7 +1295,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handleBindingFor:",
-category: 'events',
+protocol: 'events',
 fn: function (anEvent){
 var self=this;
 var binding;
@@ -1321,7 +1321,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handleInactiveKeyDown:",
-category: 'events',
+protocol: 'events',
 fn: function (event){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1346,7 +1346,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handleKeyDown:",
-category: 'events',
+protocol: 'events',
 fn: function (event){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1369,7 +1369,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "helper",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1387,7 +1387,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $HLKeyBinderHelperWidget(){return smalltalk.HLKeyBinderHelperWidget||(typeof HLKeyBinderHelperWidget=="undefined"?nil:HLKeyBinderHelperWidget)}
@@ -1409,7 +1409,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isActive",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1427,7 +1427,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectBinding:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aBinding){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1449,7 +1449,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectedBinding",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1472,7 +1472,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setupEvents",
-category: 'events',
+protocol: 'events',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1491,7 +1491,7 @@ smalltalk.HLKeyBinder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "systemIsMac",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1511,7 +1511,7 @@ smalltalk.HLKeyBinder.klass.iVarNames = ['current'];
 smalltalk.addMethod(
 smalltalk.method({
 selector: "current",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1535,7 +1535,7 @@ smalltalk.HLKeyBinder.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "new",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1554,7 +1554,7 @@ smalltalk.HLKeyBinderHelperWidget.comment="I am the widget responsible for displ
 smalltalk.addMethod(
 smalltalk.method({
 selector: "cssClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1570,7 +1570,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "hide",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1587,7 +1587,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "hideCog",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1603,7 +1603,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "keyBinder",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1621,7 +1621,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "keyBinder:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aKeyBinder){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1637,7 +1637,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "mainId",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1653,7 +1653,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderBindingActionFor:on:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (aBinding,html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1691,7 +1691,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderBindingGroup:on:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (aBindingGroup,html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1716,7 +1716,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderCloseOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1743,7 +1743,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderCog",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1779,7 +1779,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderContentOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1811,7 +1811,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderLabelOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1837,7 +1837,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderSelectedBindingOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1853,7 +1853,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderStart",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1889,7 +1889,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectedBinding",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1907,7 +1907,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "show",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1924,7 +1924,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "showCog",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1940,7 +1940,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "showWidget:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aWidget){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1965,7 +1965,7 @@ smalltalk.HLKeyBinderHelperWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aKeyBinder){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1989,7 +1989,7 @@ smalltalk.HLRepeatedKeyDownHandler.comment="I am responsible for handling repeat
 smalltalk.addMethod(
 smalltalk.method({
 selector: "bindKeys",
-category: 'binding',
+protocol: 'binding',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2011,7 +2011,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultRepeatInterval",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2027,7 +2027,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handleEvent:forKey:action:",
-category: 'events handling',
+protocol: 'events handling',
 fn: function (anEvent,anInteger,aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2050,7 +2050,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handleKeyDown:",
-category: 'events handling',
+protocol: 'events handling',
 fn: function (anEvent){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2069,7 +2069,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handleKeyUp",
-category: 'events handling',
+protocol: 'events handling',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2102,7 +2102,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isKeyDown",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2125,7 +2125,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "keyBindings",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Dictionary(){return smalltalk.Dictionary||(typeof Dictionary=="undefined"?nil:Dictionary)}
@@ -2150,7 +2150,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "rebindKeys",
-category: 'binding',
+protocol: 'binding',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2168,7 +2168,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "repeatInterval",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2191,7 +2191,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "repeatInterval:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2207,7 +2207,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "startRepeatingAction:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2233,7 +2233,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unbindKeys",
-category: 'binding',
+protocol: 'binding',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2249,7 +2249,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "whileKeyDown:do:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aKey,aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2265,7 +2265,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "whileKeyDownDo:",
-category: 'events handling',
+protocol: 'events handling',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2287,7 +2287,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "widget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2305,7 +2305,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "widget:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aWidget){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2322,7 +2322,7 @@ smalltalk.HLRepeatedKeyDownHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aWidget){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 28 - 28
js/Helios-Layout.js

@@ -6,7 +6,7 @@ smalltalk.addClass('HLContainer', smalltalk.HLWidget, ['splitter'], 'Helios-Layo
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -25,7 +25,7 @@ smalltalk.HLContainer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "splitter",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -43,7 +43,7 @@ smalltalk.HLContainer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "splitter:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aSplitter){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -60,7 +60,7 @@ smalltalk.HLContainer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "with:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aSplitter){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -83,7 +83,7 @@ smalltalk.addClass('HLSplitter', smalltalk.Widget, ['firstWidget', 'secondWidget
 smalltalk.addMethod(
 smalltalk.method({
 selector: "cssClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -99,7 +99,7 @@ smalltalk.HLSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "firstWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -117,7 +117,7 @@ smalltalk.HLSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "firstWidget:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aWidget){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -133,7 +133,7 @@ smalltalk.HLSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isHeliosSplitter",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -149,7 +149,7 @@ smalltalk.HLSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "panesCssClass",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -165,7 +165,7 @@ smalltalk.HLSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -208,7 +208,7 @@ smalltalk.HLSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "resize",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -223,7 +223,7 @@ smalltalk.HLSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "secondWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -241,7 +241,7 @@ smalltalk.HLSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "secondWidget:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aWidget){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -257,7 +257,7 @@ smalltalk.HLSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setupSplitter",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -273,7 +273,7 @@ smalltalk.HLSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "with:with:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aWidget,anotherWidget){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -297,7 +297,7 @@ smalltalk.addClass('HLHorizontalSplitter', smalltalk.HLSplitter, [], 'Helios-Lay
 smalltalk.addMethod(
 smalltalk.method({
 selector: "cssClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -315,7 +315,7 @@ smalltalk.HLHorizontalSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "panesCssClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -333,7 +333,7 @@ smalltalk.HLHorizontalSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "resize",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -349,7 +349,7 @@ smalltalk.HLHorizontalSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "resize:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anInteger){
 var self=this;
 var container,size,offset,percentage;
@@ -401,7 +401,7 @@ smalltalk.HLHorizontalSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setupSplitter",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -435,7 +435,7 @@ smalltalk.HLHorizontalSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "startResizing:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aSplitter){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -454,7 +454,7 @@ smalltalk.addClass('HLVerticalSplitter', smalltalk.HLSplitter, [], 'Helios-Layou
 smalltalk.addMethod(
 smalltalk.method({
 selector: "cssClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -472,7 +472,7 @@ smalltalk.HLVerticalSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "panesCssClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -490,7 +490,7 @@ smalltalk.HLVerticalSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "resize",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -506,7 +506,7 @@ smalltalk.HLVerticalSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "resize:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anInteger){
 var self=this;
 var container,size,offset,percentage;
@@ -558,7 +558,7 @@ smalltalk.HLVerticalSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setupSplitter",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -592,7 +592,7 @@ smalltalk.HLVerticalSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "startResizing:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aSplitter){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -609,7 +609,7 @@ smalltalk.HLVerticalSplitter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isHeliosSplitter",
-category: '*Helios-Layout',
+protocol: '*Helios-Layout',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 54 - 54
js/Helios-References.js

@@ -6,7 +6,7 @@ smalltalk.addClass('HLMethodReference', smalltalk.Object, ['selector', 'methodCl
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initializeFromMethod:",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (aCompiledMethod){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -24,7 +24,7 @@ smalltalk.HLMethodReference);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "method",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -42,7 +42,7 @@ smalltalk.HLMethodReference);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -60,7 +60,7 @@ smalltalk.HLMethodReference);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -76,7 +76,7 @@ smalltalk.HLMethodReference);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -94,7 +94,7 @@ smalltalk.HLMethodReference);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -110,7 +110,7 @@ smalltalk.HLMethodReference);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "source",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -129,7 +129,7 @@ smalltalk.HLMethodReference);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aCompiledMethod){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -152,7 +152,7 @@ smalltalk.addClass('HLReferences', smalltalk.HLWidget, ['model', 'sendersListWid
 smalltalk.addMethod(
 smalltalk.method({
 selector: "classReferencesListWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLClassReferencesListWidget(){return smalltalk.HLClassReferencesListWidget||(typeof HLClassReferencesListWidget=="undefined"?nil:HLClassReferencesListWidget)}
@@ -178,7 +178,7 @@ smalltalk.HLReferences);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "implementorsListWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLImplementorsListWidget(){return smalltalk.HLImplementorsListWidget||(typeof HLImplementorsListWidget=="undefined"?nil:HLImplementorsListWidget)}
@@ -204,7 +204,7 @@ smalltalk.HLReferences);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLReferencesModel(){return smalltalk.HLReferencesModel||(typeof HLReferencesModel=="undefined"?nil:HLReferencesModel)}
@@ -232,7 +232,7 @@ smalltalk.HLReferences);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -248,7 +248,7 @@ smalltalk.HLReferences);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "regexpListWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLRegexpListWidget(){return smalltalk.HLRegexpListWidget||(typeof HLRegexpListWidget=="undefined"?nil:HLRegexpListWidget)}
@@ -274,7 +274,7 @@ smalltalk.HLReferences);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "registerBindingsOn:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aBindingGroup){
 var self=this;
 function $HLToolCommand(){return smalltalk.HLToolCommand||(typeof HLToolCommand=="undefined"?nil:HLToolCommand)}
@@ -291,7 +291,7 @@ smalltalk.HLReferences);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderContentOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 function $HLContainer(){return smalltalk.HLContainer||(typeof HLContainer=="undefined"?nil:HLContainer)}
@@ -322,7 +322,7 @@ smalltalk.HLReferences);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "search:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -338,7 +338,7 @@ smalltalk.HLReferences);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "sendersListWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLSendersListWidget(){return smalltalk.HLSendersListWidget||(typeof HLSendersListWidget=="undefined"?nil:HLSendersListWidget)}
@@ -364,7 +364,7 @@ smalltalk.HLReferences);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "sourceCodeWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLBrowserCodeWidget(){return smalltalk.HLBrowserCodeWidget||(typeof HLBrowserCodeWidget=="undefined"?nil:HLBrowserCodeWidget)}
@@ -393,7 +393,7 @@ smalltalk.HLReferences);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "canBeOpenAsTab",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -409,7 +409,7 @@ smalltalk.HLReferences.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -425,7 +425,7 @@ smalltalk.HLReferences.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -441,7 +441,7 @@ smalltalk.HLReferences.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabPriority",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -459,7 +459,7 @@ smalltalk.addClass('HLReferencesListWidget', smalltalk.HLToolListWidget, [], 'He
 smalltalk.addMethod(
 smalltalk.method({
 selector: "activateListItem:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anItem){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -478,7 +478,7 @@ smalltalk.HLReferencesListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commandCategory",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -494,7 +494,7 @@ smalltalk.HLReferencesListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -510,7 +510,7 @@ smalltalk.HLReferencesListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "observeModel",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLSearchReferences(){return smalltalk.HLSearchReferences||(typeof HLSearchReferences=="undefined"?nil:HLSearchReferences)}
@@ -538,7 +538,7 @@ smalltalk.HLReferencesListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onMethodSelected:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (aMethod){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -576,7 +576,7 @@ smalltalk.HLReferencesListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onSearchReferences:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -592,7 +592,7 @@ smalltalk.HLReferencesListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderItemLabel:on:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (aMethod,html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -611,7 +611,7 @@ smalltalk.HLReferencesListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectItem:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aMethod){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -628,7 +628,7 @@ smalltalk.HLReferencesListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -651,7 +651,7 @@ smalltalk.addClass('HLClassReferencesListWidget', smalltalk.HLReferencesListWidg
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -667,7 +667,7 @@ smalltalk.HLClassReferencesListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onSearchReferences:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -688,7 +688,7 @@ smalltalk.addClass('HLImplementorsListWidget', smalltalk.HLReferencesListWidget,
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -704,7 +704,7 @@ smalltalk.HLImplementorsListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onSearchReferences:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -725,7 +725,7 @@ smalltalk.addClass('HLRegexpListWidget', smalltalk.HLReferencesListWidget, [], '
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -741,7 +741,7 @@ smalltalk.HLRegexpListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onSearchReferences:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -762,7 +762,7 @@ smalltalk.addClass('HLSendersListWidget', smalltalk.HLReferencesListWidget, [],
 smalltalk.addMethod(
 smalltalk.method({
 selector: "label",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -778,7 +778,7 @@ smalltalk.HLSendersListWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onSearchReferences:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -799,7 +799,7 @@ smalltalk.addClass('HLReferencesModel', smalltalk.HLToolModel, ['methodsCache',
 smalltalk.addMethod(
 smalltalk.method({
 selector: "allMethods",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -817,7 +817,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "allSelectors",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -838,7 +838,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "classReferencesOf:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -859,7 +859,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "classesAndMetaclasses",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -877,7 +877,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "classesAndMetaclassesCache",
-category: 'cache',
+protocol: 'cache',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -901,7 +901,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "implementorsOf:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -925,7 +925,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isReferencesModel",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -941,7 +941,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodReferenceOn:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aCompiledMethod){
 var self=this;
 function $HLMethodReference(){return smalltalk.HLMethodReference||(typeof HLMethodReference=="undefined"?nil:HLMethodReference)}
@@ -960,7 +960,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodsCache",
-category: 'cache',
+protocol: 'cache',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -984,7 +984,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "regexpReferencesOf:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1008,7 +1008,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "search:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aString){
 var self=this;
 function $HLSearchReferences(){return smalltalk.HLSearchReferences||(typeof HLSearchReferences=="undefined"?nil:HLSearchReferences)}
@@ -1030,7 +1030,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "sendersOf:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1054,7 +1054,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "updateCaches",
-category: 'cache',
+protocol: 'cache',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1072,7 +1072,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "updateClassesAndMetaclassesCache",
-category: 'cache',
+protocol: 'cache',
 fn: function (){
 var self=this;
 function $OrderedCollection(){return smalltalk.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}
@@ -1098,7 +1098,7 @@ smalltalk.HLReferencesModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "updateMethodsCache",
-category: 'cache',
+protocol: 'cache',
 fn: function (){
 var self=this;
 function $OrderedCollection(){return smalltalk.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}

+ 12 - 12
js/Helios-Transcript.js

@@ -7,7 +7,7 @@ smalltalk.HLTranscript.comment="I am a widget responsible for displaying transcr
 smalltalk.addMethod(
 smalltalk.method({
 selector: "clear",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -23,7 +23,7 @@ smalltalk.HLTranscript);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -40,7 +40,7 @@ smalltalk.HLTranscript);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "register",
-category: 'registration',
+protocol: 'registration',
 fn: function (){
 var self=this;
 function $HLTranscriptHandler(){return smalltalk.HLTranscriptHandler||(typeof HLTranscriptHandler=="undefined"?nil:HLTranscriptHandler)}
@@ -57,7 +57,7 @@ smalltalk.HLTranscript);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -80,7 +80,7 @@ smalltalk.HLTranscript);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "show:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -102,7 +102,7 @@ smalltalk.HLTranscript);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unregister",
-category: 'registration',
+protocol: 'registration',
 fn: function (){
 var self=this;
 function $HLTranscriptHandler(){return smalltalk.HLTranscriptHandler||(typeof HLTranscriptHandler=="undefined"?nil:HLTranscriptHandler)}
@@ -126,7 +126,7 @@ smalltalk.HLTranscriptHandler.klass.iVarNames = ['transcripts'];
 smalltalk.addMethod(
 smalltalk.method({
 selector: "clear",
-category: 'registration',
+protocol: 'registration',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -145,7 +145,7 @@ smalltalk.HLTranscriptHandler.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $Transcript(){return smalltalk.Transcript||(typeof Transcript=="undefined"?nil:Transcript)}
@@ -162,7 +162,7 @@ smalltalk.HLTranscriptHandler.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "register:",
-category: 'registration',
+protocol: 'registration',
 fn: function (aTranscript){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -178,7 +178,7 @@ smalltalk.HLTranscriptHandler.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "show:",
-category: 'registration',
+protocol: 'registration',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -197,7 +197,7 @@ smalltalk.HLTranscriptHandler.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "transcripts",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $OrderedCollection(){return smalltalk.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}
@@ -222,7 +222,7 @@ smalltalk.HLTranscriptHandler.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unregister:",
-category: 'registration',
+protocol: 'registration',
 fn: function (aTranscript){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 1 - 1
js/Helios-Workspace-Tests.js

@@ -6,7 +6,7 @@ smalltalk.addClass('HLCodeWidgetTest', smalltalk.TestCase, [], 'Helios-Workspace
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testKeyMap",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 function $HLCodeWidget(){return smalltalk.HLCodeWidget||(typeof HLCodeWidget=="undefined"?nil:HLCodeWidget)}

+ 101 - 101
js/Helios-Workspace.js

@@ -6,7 +6,7 @@ smalltalk.addClass('HLCodeModel', smalltalk.Object, ['announcer', 'environment',
 smalltalk.addMethod(
 smalltalk.method({
 selector: "announcer",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Announcer(){return smalltalk.Announcer||(typeof Announcer=="undefined"?nil:Announcer)}
@@ -31,7 +31,7 @@ smalltalk.HLCodeModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultReceiver",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -49,7 +49,7 @@ smalltalk.HLCodeModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "doIt:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -67,7 +67,7 @@ smalltalk.HLCodeModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "environment",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLManager(){return smalltalk.HLManager||(typeof HLManager=="undefined"?nil:HLManager)}
@@ -91,7 +91,7 @@ smalltalk.HLCodeModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "environment:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anEnvironment){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -107,7 +107,7 @@ smalltalk.HLCodeModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspect:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -123,7 +123,7 @@ smalltalk.HLCodeModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "receiver",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -147,7 +147,7 @@ smalltalk.HLCodeModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "receiver:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -164,7 +164,7 @@ smalltalk.HLCodeModel);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anEnvironment){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -187,7 +187,7 @@ smalltalk.addClass('HLCodeWidget', smalltalk.HLWidget, ['model', 'wrapper', 'cod
 smalltalk.addMethod(
 smalltalk.method({
 selector: "announcer",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -205,7 +205,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "canHaveFocus",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -221,7 +221,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "clear",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -237,7 +237,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "configureEditor",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -260,7 +260,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "contents",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -278,7 +278,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "contents:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -301,7 +301,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "currentLine",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -319,7 +319,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "currentLineOrSelection",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -342,7 +342,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "doIt",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 var result;
@@ -373,7 +373,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "editor",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -391,7 +391,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "editorOptions",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -427,7 +427,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "focus",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -443,7 +443,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "hasFocus",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -461,7 +461,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "hasModification",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -477,7 +477,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspectIt",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 var newInspector;
@@ -500,7 +500,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageHintFor:token:",
-category: 'hints',
+protocol: 'hints',
 fn: function (anEditor,aToken){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -527,7 +527,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLCodeModel(){return smalltalk.HLCodeModel||(typeof HLCodeModel=="undefined"?nil:HLCodeModel)}
@@ -552,7 +552,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "model:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -568,7 +568,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onChange",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -584,7 +584,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onDoIt",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -600,7 +600,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onInspectIt",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -616,7 +616,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onPrintIt",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -632,7 +632,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onSaveIt",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -647,7 +647,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "print:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aString){
 var self=this;
 var start,stop,currentLine;
@@ -709,7 +709,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "printIt",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 var result;
@@ -730,7 +730,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "receiver",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -748,7 +748,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "receiver:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -764,7 +764,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderButtonsOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -809,7 +809,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderContentOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -848,7 +848,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "saveIt",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -863,7 +863,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selection",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -881,7 +881,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectionEnd",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -899,7 +899,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectionEnd:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -915,7 +915,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectionStart",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -933,7 +933,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectionStart:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -949,7 +949,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setEditorOn:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aTextarea){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -965,7 +965,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "updateState",
-category: 'updating',
+protocol: 'updating',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -989,7 +989,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variableHintFor:token:",
-category: 'hints',
+protocol: 'hints',
 fn: function (anEditor,aToken){
 var self=this;
 var variables,classNames,pseudoVariables;
@@ -1040,7 +1040,7 @@ smalltalk.HLCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "hintFor:options:",
-category: 'hints',
+protocol: 'hints',
 fn: function (anEditor,options){
 var self=this;
 var cursor,token,completions;
@@ -1086,7 +1086,7 @@ smalltalk.HLCodeWidget.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1106,7 +1106,7 @@ smalltalk.HLCodeWidget.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "keyMap",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLManager(){return smalltalk.HLManager||(typeof HLManager=="undefined"?nil:HLManager)}
@@ -1130,7 +1130,7 @@ smalltalk.HLCodeWidget.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "macKeyMap",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1198,7 +1198,7 @@ smalltalk.HLCodeWidget.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageHintFor:token:",
-category: 'hints',
+protocol: 'hints',
 fn: function (anEditor,aToken){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1216,7 +1216,7 @@ smalltalk.HLCodeWidget.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "pcKeyMap",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1284,7 +1284,7 @@ smalltalk.HLCodeWidget.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setupCodeMirror",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1305,7 +1305,7 @@ smalltalk.HLCodeWidget.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setupCommands",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $CodeMirror(){return smalltalk.CodeMirror||(typeof CodeMirror=="undefined"?nil:CodeMirror)}
@@ -1348,7 +1348,7 @@ smalltalk.HLCodeWidget.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setupKeyMaps",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1364,7 +1364,7 @@ smalltalk.HLCodeWidget.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "variableHintFor:token:",
-category: 'hints',
+protocol: 'hints',
 fn: function (anEditor,aToken){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1384,7 +1384,7 @@ smalltalk.addClass('HLNavigationCodeWidget', smalltalk.HLCodeWidget, ['methodCon
 smalltalk.addMethod(
 smalltalk.method({
 selector: "configureEditor",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1401,7 +1401,7 @@ smalltalk.HLNavigationCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "contents:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1418,7 +1418,7 @@ smalltalk.HLNavigationCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "hasModification",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1436,7 +1436,7 @@ smalltalk.HLNavigationCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodContents",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1459,7 +1459,7 @@ smalltalk.HLNavigationCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodContents:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1478,7 +1478,7 @@ smalltalk.HLNavigationCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "previous",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1493,7 +1493,7 @@ smalltalk.HLNavigationCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "previous:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aWidget){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1509,7 +1509,7 @@ smalltalk.HLNavigationCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "canBeOpenAsTab",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1525,7 +1525,7 @@ smalltalk.HLNavigationCodeWidget.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aBrowserModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1548,7 +1548,7 @@ smalltalk.addClass('HLBrowserCodeWidget', smalltalk.HLNavigationCodeWidget, ['br
 smalltalk.addMethod(
 smalltalk.method({
 selector: "browserModel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1566,7 +1566,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "browserModel:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aBrowserModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1585,7 +1585,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "observeBrowserModel",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $HLSaveSourceCode(){return smalltalk.HLSaveSourceCode||(typeof HLSaveSourceCode=="undefined"?nil:HLSaveSourceCode)}
@@ -1640,7 +1640,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "observeSystem",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $MethodModified(){return smalltalk.MethodModified||(typeof MethodModified=="undefined"?nil:MethodModified)}
@@ -1657,7 +1657,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onBrowserAboutToChange:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anAnnouncement){
 var self=this;
 var block;
@@ -1685,7 +1685,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onClassSelected:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anAnnouncement){
 var self=this;
 var class_;
@@ -1712,7 +1712,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onCompileError:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anAnnouncement){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1728,7 +1728,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onInstVarAdded",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1744,7 +1744,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onMethodModified:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anAnnouncement){
 var self=this;
 var method;
@@ -1786,7 +1786,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onMethodSelected:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anAnnouncement){
 var self=this;
 var method;
@@ -1813,7 +1813,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onPackageSelected:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anAnnouncement){
 var self=this;
 var package_;
@@ -1840,7 +1840,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onParseError:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anAnnouncement){
 var self=this;
 var lineIndex,newContents;
@@ -1892,7 +1892,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onProtocolSelected:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anAnnouncement){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1920,7 +1920,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onSaveIt",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1936,7 +1936,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onShowInstanceToggled",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1964,7 +1964,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onSourceCodeFocusRequested",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1980,7 +1980,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onSourceCodeSaved",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1997,7 +1997,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "onUnknownVariableError:",
-category: 'reactions',
+protocol: 'reactions',
 fn: function (anAnnouncement){
 var self=this;
 var error;
@@ -2028,7 +2028,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "refresh",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2053,7 +2053,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderButtonsOn:",
-category: 'actions',
+protocol: 'actions',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2077,7 +2077,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "saveIt",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2093,7 +2093,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unregister",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2117,7 +2117,7 @@ smalltalk.HLBrowserCodeWidget);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "canBeOpenAsTab",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2133,7 +2133,7 @@ smalltalk.HLBrowserCodeWidget.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aBrowserModel){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2156,7 +2156,7 @@ smalltalk.addClass('HLWorkspace', smalltalk.HLWidget, ['codeWidget', 'transcript
 smalltalk.addMethod(
 smalltalk.method({
 selector: "canHaveFocus",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2172,7 +2172,7 @@ smalltalk.HLWorkspace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "codeWidget",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLCodeWidget(){return smalltalk.HLCodeWidget||(typeof HLCodeWidget=="undefined"?nil:HLCodeWidget)}
@@ -2197,7 +2197,7 @@ smalltalk.HLWorkspace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "focus",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2215,7 +2215,7 @@ smalltalk.HLWorkspace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderContentOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 function $HLContainer(){return smalltalk.HLContainer||(typeof HLContainer=="undefined"?nil:HLContainer)}
@@ -2237,7 +2237,7 @@ smalltalk.HLWorkspace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renderTranscriptOn:",
-category: 'rendering',
+protocol: 'rendering',
 fn: function (html){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2266,7 +2266,7 @@ smalltalk.HLWorkspace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "transcript",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $HLTranscript(){return smalltalk.HLTranscript||(typeof HLTranscript=="undefined"?nil:HLTranscript)}
@@ -2291,7 +2291,7 @@ smalltalk.HLWorkspace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unregister",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2310,7 +2310,7 @@ smalltalk.HLWorkspace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "canBeOpenAsTab",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2326,7 +2326,7 @@ smalltalk.HLWorkspace.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2342,7 +2342,7 @@ smalltalk.HLWorkspace.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabLabel",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2358,7 +2358,7 @@ smalltalk.HLWorkspace.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabPriority",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

File diff suppressed because it is too large
+ 112 - 112
js/IDE.js


+ 36 - 36
js/Kernel-Announcements.js

@@ -7,7 +7,7 @@ smalltalk.AnnouncementSubscription.comment="I am a single entry in a subscriptio
 smalltalk.addMethod(
 smalltalk.method({
 selector: "announcementClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -25,7 +25,7 @@ smalltalk.AnnouncementSubscription);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "announcementClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -41,7 +41,7 @@ smalltalk.AnnouncementSubscription);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "block",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -60,7 +60,7 @@ smalltalk.AnnouncementSubscription);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "block:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aValuable){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -77,7 +77,7 @@ smalltalk.AnnouncementSubscription);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "deliver:",
-category: 'announcing',
+protocol: 'announcing',
 fn: function (anAnnouncement){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -97,7 +97,7 @@ smalltalk.AnnouncementSubscription);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handlesAnnouncement:",
-category: 'announcing',
+protocol: 'announcing',
 fn: function (anAnnouncement){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -128,7 +128,7 @@ smalltalk.AnnouncementSubscription);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "receiver",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -146,7 +146,7 @@ smalltalk.AnnouncementSubscription);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "valuable",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -164,7 +164,7 @@ smalltalk.AnnouncementSubscription);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "valuable:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aValuable){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -184,7 +184,7 @@ smalltalk.Announcer.comment="I hold annoncement subscriptions (instances of `Ann
 smalltalk.addMethod(
 smalltalk.method({
 selector: "announce:",
-category: 'announcing',
+protocol: 'announcing',
 fn: function (anAnnouncement){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -203,7 +203,7 @@ smalltalk.Announcer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $OrderedCollection(){return smalltalk.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}
@@ -221,7 +221,7 @@ smalltalk.Announcer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:do:",
-category: 'subscribing',
+protocol: 'subscribing',
 fn: function (aClass,aBlock){
 var self=this;
 function $AnnouncementSubscription(){return smalltalk.AnnouncementSubscription||(typeof AnnouncementSubscription=="undefined"?nil:AnnouncementSubscription)}
@@ -243,7 +243,7 @@ smalltalk.Announcer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:doOnce:",
-category: 'subscribing',
+protocol: 'subscribing',
 fn: function (aClass,aBlock){
 var self=this;
 var subscription;
@@ -271,7 +271,7 @@ smalltalk.Announcer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:send:to:",
-category: 'subscribing',
+protocol: 'subscribing',
 fn: function (aClass,aSelector,anObject){
 var self=this;
 function $AnnouncementSubscription(){return smalltalk.AnnouncementSubscription||(typeof AnnouncementSubscription=="undefined"?nil:AnnouncementSubscription)}
@@ -304,7 +304,7 @@ smalltalk.Announcer);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "unsubscribe:",
-category: 'subscribing',
+protocol: 'subscribing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -329,7 +329,7 @@ smalltalk.SystemAnnouncer.klass.iVarNames = ['current'];
 smalltalk.addMethod(
 smalltalk.method({
 selector: "current",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -353,7 +353,7 @@ smalltalk.SystemAnnouncer.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "new",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -373,7 +373,7 @@ smalltalk.SystemAnnouncement.comment="I am the superclass of all system announce
 smalltalk.addMethod(
 smalltalk.method({
 selector: "heliosClass",
-category: 'helios',
+protocol: 'helios',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -392,7 +392,7 @@ smalltalk.ClassAnnouncement.comment="I am the abstract superclass of class-relat
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -410,7 +410,7 @@ smalltalk.ClassAnnouncement);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -442,7 +442,7 @@ smalltalk.ClassMigrated.comment="I am emitted when a class is migrated.";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "oldClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -460,7 +460,7 @@ smalltalk.ClassMigrated);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "oldClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -480,7 +480,7 @@ smalltalk.ClassMoved.comment="I am emitted when a class is moved from one packag
 smalltalk.addMethod(
 smalltalk.method({
 selector: "oldPackage",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -498,7 +498,7 @@ smalltalk.ClassMoved);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "oldPackage:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -526,7 +526,7 @@ smalltalk.MethodAnnouncement.comment="I am the abstract superclass of method-rel
 smalltalk.addMethod(
 smalltalk.method({
 selector: "method",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -544,7 +544,7 @@ smalltalk.MethodAnnouncement);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "method:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aCompiledMethod){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -568,7 +568,7 @@ smalltalk.MethodModified.comment="I am emitted when a `CompiledMethod` is modifi
 smalltalk.addMethod(
 smalltalk.method({
 selector: "oldMethod",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -586,7 +586,7 @@ smalltalk.MethodModified);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "oldMethod:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aMethod){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -606,7 +606,7 @@ smalltalk.MethodMoved.comment="I am emitted when a `CompiledMethod` is moved to
 smalltalk.addMethod(
 smalltalk.method({
 selector: "oldProtocol",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -624,7 +624,7 @@ smalltalk.MethodMoved);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "oldProtocol:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -648,7 +648,7 @@ smalltalk.PackageAnnouncement.comment="I am the abstract superclass of package-r
 smalltalk.addMethod(
 smalltalk.method({
 selector: "package",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -666,7 +666,7 @@ smalltalk.PackageAnnouncement);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "package:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -694,7 +694,7 @@ smalltalk.ProtocolAnnouncement.comment="I am the abstract superclass of protocol
 smalltalk.addMethod(
 smalltalk.method({
 selector: "protocol",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -712,7 +712,7 @@ smalltalk.ProtocolAnnouncement);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "protocol:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -728,7 +728,7 @@ smalltalk.ProtocolAnnouncement);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -746,7 +746,7 @@ smalltalk.ProtocolAnnouncement);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 106 - 106
js/Kernel-Classes.js

@@ -7,7 +7,7 @@ smalltalk.Behavior.comment="I am the superclass of all class objects.\x0a\x0aI d
 smalltalk.addMethod(
 smalltalk.method({
 selector: ">>",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -25,7 +25,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addCompiledMethod:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aMethod){
 var self=this;
 var oldMethod,announcement;
@@ -94,7 +94,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "allInstanceVariableNames",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 var result;
@@ -121,7 +121,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "allSelectors",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -147,7 +147,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "allSubclasses",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 var subclasses,index;
@@ -178,7 +178,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "allSubclassesDo:",
-category: 'enumerating',
+protocol: 'enumerating',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -197,7 +197,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "allSuperclasses",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $OrderedCollection(){return smalltalk.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}
@@ -229,7 +229,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "basicAddCompiledMethod:",
-category: 'private',
+protocol: 'private',
 fn: function (aMethod){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -245,7 +245,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "basicNew",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -261,7 +261,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "basicRemoveCompiledMethod:",
-category: 'private',
+protocol: 'private',
 fn: function (aMethod){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -277,7 +277,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "canUnderstand:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aSelector){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -304,7 +304,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "comment",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -327,7 +327,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "comment:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 function $SystemAnnouncer(){return smalltalk.SystemAnnouncer||(typeof SystemAnnouncer=="undefined"?nil:SystemAnnouncer)}
@@ -350,7 +350,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commentStamp",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $ClassCommentReader(){return smalltalk.ClassCommentReader||(typeof ClassCommentReader=="undefined"?nil:ClassCommentReader)}
@@ -372,7 +372,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commentStamp:prior:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aStamp,prior){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -390,7 +390,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compile:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -408,7 +408,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compile:protocol:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aString,anotherString){
 var self=this;
 function $Compiler(){return smalltalk.Compiler||(typeof Compiler=="undefined"?nil:Compiler)}
@@ -427,7 +427,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "definition",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -443,7 +443,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "includesBehavior:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -464,7 +464,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "includesSelector:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -482,7 +482,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inheritsFrom:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -513,7 +513,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "instanceVariableNames",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -529,7 +529,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isBehavior",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -545,7 +545,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "javascriptConstructor",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -561,7 +561,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "javascriptConstructor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aJavaScriptFunction){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -577,7 +577,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "lookupSelector:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (selector){
 var self=this;
 var lookupClass;
@@ -613,7 +613,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodAt:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -631,7 +631,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodDictionary",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -654,7 +654,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methods",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -672,7 +672,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodsFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 function $ClassCategoryReader(){return smalltalk.ClassCategoryReader||(typeof ClassCategoryReader=="undefined"?nil:ClassCategoryReader)}
@@ -694,7 +694,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodsFor:stamp:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString,aStamp){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -712,7 +712,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodsInProtocol:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -733,7 +733,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "name",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -749,7 +749,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "new",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -767,7 +767,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "organization",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -785,7 +785,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ownMethods",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $OrderedCollection(){return smalltalk.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}
@@ -812,7 +812,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ownProtocols",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -833,7 +833,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "protocols",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -851,7 +851,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "protocolsDo:",
-category: 'enumerating',
+protocol: 'enumerating',
 fn: function (aBlock){
 var self=this;
 var methodsByProtocol;
@@ -883,7 +883,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "prototype",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -899,7 +899,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "recompile",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (){
 var self=this;
 function $Compiler(){return smalltalk.Compiler||(typeof Compiler=="undefined"?nil:Compiler)}
@@ -918,7 +918,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "removeCompiledMethod:",
-category: 'compiling',
+protocol: 'compiling',
 fn: function (aMethod){
 var self=this;
 function $SystemAnnouncer(){return smalltalk.SystemAnnouncer||(typeof SystemAnnouncer=="undefined"?nil:SystemAnnouncer)}
@@ -952,7 +952,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectors",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -970,7 +970,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "subclasses",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -986,7 +986,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "superclass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1002,7 +1002,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theMetaClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1020,7 +1020,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theNonMetaClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1036,7 +1036,7 @@ smalltalk.Behavior);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "withAllSubclasses",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Array(){return smalltalk.Array||(typeof Array=="undefined"?nil:Array)}
@@ -1062,7 +1062,7 @@ smalltalk.Class.comment="I am __the__ class object.\x0a\x0aMy instances are the
 smalltalk.addMethod(
 smalltalk.method({
 selector: "asJavascript",
-category: 'converting',
+protocol: 'converting',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1080,7 +1080,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1104,7 +1104,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "definition",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $String(){return smalltalk.String||(typeof String=="undefined"?nil:String)}
@@ -1161,7 +1161,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isClass",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1177,7 +1177,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "package",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1195,7 +1195,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "package:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 var oldPackage;
@@ -1231,7 +1231,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "printOn:",
-category: 'printing',
+protocol: 'printing',
 fn: function (aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1247,7 +1247,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "rename:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 function $ClassBuilder(){return smalltalk.ClassBuilder||(typeof ClassBuilder=="undefined"?nil:ClassBuilder)}
@@ -1264,7 +1264,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "subclass:instanceVariableNames:",
-category: 'class creation',
+protocol: 'class creation',
 fn: function (aString,anotherString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1282,7 +1282,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "subclass:instanceVariableNames:category:",
-category: 'class creation',
+protocol: 'class creation',
 fn: function (aString,aString2,aString3){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1301,7 +1301,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "subclass:instanceVariableNames:classVariableNames:poolDictionaries:category:",
-category: 'class creation',
+protocol: 'class creation',
 fn: function (aString,aString2,classVars,pools,aString3){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1319,7 +1319,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "subclass:instanceVariableNames:package:",
-category: 'class creation',
+protocol: 'class creation',
 fn: function (aString,aString2,aString3){
 var self=this;
 function $ClassBuilder(){return smalltalk.ClassBuilder||(typeof ClassBuilder=="undefined"?nil:ClassBuilder)}
@@ -1338,7 +1338,7 @@ smalltalk.Class);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "subclasses",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1358,7 +1358,7 @@ smalltalk.Metaclass.comment="I am the root of the class hierarchy.\x0a\x0aMy ins
 smalltalk.addMethod(
 smalltalk.method({
 selector: "asJavascript",
-category: 'converting',
+protocol: 'converting',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1377,7 +1377,7 @@ smalltalk.Metaclass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "definition",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $String(){return smalltalk.String||(typeof String=="undefined"?nil:String)}
@@ -1413,7 +1413,7 @@ smalltalk.Metaclass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "instanceClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1429,7 +1429,7 @@ smalltalk.Metaclass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "instanceVariableNames:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aCollection){
 var self=this;
 function $ClassBuilder(){return smalltalk.ClassBuilder||(typeof ClassBuilder=="undefined"?nil:ClassBuilder)}
@@ -1446,7 +1446,7 @@ smalltalk.Metaclass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isMetaclass",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1462,7 +1462,7 @@ smalltalk.Metaclass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "printOn:",
-category: 'printing',
+protocol: 'printing',
 fn: function (aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1481,7 +1481,7 @@ smalltalk.Metaclass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "subclasses",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1505,7 +1505,7 @@ smalltalk.Metaclass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theMetaClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1521,7 +1521,7 @@ smalltalk.Metaclass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theNonMetaClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1543,7 +1543,7 @@ smalltalk.ClassBuilder.comment="I am responsible for compiling new classes or mo
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addSubclassOf:named:instanceVariableNames:package:",
-category: 'class definition',
+protocol: 'class definition',
 fn: function (aClass,className,aCollection,packageName){
 var self=this;
 var theClass,thePackage;
@@ -1576,7 +1576,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "basicAddSubclassOf:named:instanceVariableNames:package:",
-category: 'private',
+protocol: 'private',
 fn: function (aClass,aString,aCollection,packageName){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1595,7 +1595,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "basicClass:instanceVariableNames:",
-category: 'private',
+protocol: 'private',
 fn: function (aClass,aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1611,7 +1611,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "basicClass:instanceVariables:",
-category: 'private',
+protocol: 'private',
 fn: function (aClass,aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1632,7 +1632,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "basicRemoveClass:",
-category: 'private',
+protocol: 'private',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1648,7 +1648,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "basicRenameClass:to:",
-category: 'private',
+protocol: 'private',
 fn: function (aClass,aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1668,7 +1668,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "basicSwapClassNames:with:",
-category: 'private',
+protocol: 'private',
 fn: function (aClass,anotherClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1688,7 +1688,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "class:instanceVariableNames:",
-category: 'class definition',
+protocol: 'class definition',
 fn: function (aClass,ivarNames){
 var self=this;
 function $SystemAnnouncer(){return smalltalk.SystemAnnouncer||(typeof SystemAnnouncer=="undefined"?nil:SystemAnnouncer)}
@@ -1712,7 +1712,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "copyClass:named:",
-category: 'copying',
+protocol: 'copying',
 fn: function (aClass,className){
 var self=this;
 var newClass;
@@ -1739,7 +1739,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "copyClass:to:",
-category: 'copying',
+protocol: 'copying',
 fn: function (aClass,anotherClass){
 var self=this;
 function $Compiler(){return smalltalk.Compiler||(typeof Compiler=="undefined"?nil:Compiler)}
@@ -1788,7 +1788,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "createPackageNamed:",
-category: 'private',
+protocol: 'private',
 fn: function (aString){
 var self=this;
 function $Package(){return smalltalk.Package||(typeof Package=="undefined"?nil:Package)}
@@ -1811,7 +1811,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "installMethod:forClass:protocol:",
-category: 'method definition',
+protocol: 'method definition',
 fn: function (aCompiledMethod,aBehavior,aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1830,7 +1830,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "instanceVariableNamesFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1851,7 +1851,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "migrateClass:superclass:",
-category: 'class migration',
+protocol: 'class migration',
 fn: function (aClass,anotherClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1871,7 +1871,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "migrateClassNamed:superclass:instanceVariableNames:package:",
-category: 'class migration',
+protocol: 'class migration',
 fn: function (className,aClass,aCollection,packageName){
 var self=this;
 var oldClass,newClass,tmp;
@@ -1930,7 +1930,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "rawRenameClass:to:",
-category: 'private',
+protocol: 'private',
 fn: function (aClass,aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1948,7 +1948,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "renameClass:to:",
-category: 'class migration',
+protocol: 'class migration',
 fn: function (aClass,className){
 var self=this;
 function $SystemAnnouncer(){return smalltalk.SystemAnnouncer||(typeof SystemAnnouncer=="undefined"?nil:SystemAnnouncer)}
@@ -1972,7 +1972,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setupClass:",
-category: 'public',
+protocol: 'public',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1988,7 +1988,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "superclass:subclass:",
-category: 'class definition',
+protocol: 'class definition',
 fn: function (aClass,className){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2006,7 +2006,7 @@ smalltalk.ClassBuilder);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "superclass:subclass:instanceVariableNames:package:",
-category: 'class definition',
+protocol: 'class definition',
 fn: function (aClass,className,ivarNames,packageName){
 var self=this;
 var newClass;
@@ -2043,7 +2043,7 @@ smalltalk.ClassCategoryReader.comment="I provide a mechanism for retrieving clas
 smalltalk.addMethod(
 smalltalk.method({
 selector: "class:category:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass,aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2060,7 +2060,7 @@ smalltalk.ClassCategoryReader);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compileMethod:",
-category: 'private',
+protocol: 'private',
 fn: function (aString){
 var self=this;
 function $Compiler(){return smalltalk.Compiler||(typeof Compiler=="undefined"?nil:Compiler)}
@@ -2077,7 +2077,7 @@ smalltalk.ClassCategoryReader);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2093,7 +2093,7 @@ smalltalk.ClassCategoryReader);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "scanFrom:",
-category: 'fileIn',
+protocol: 'fileIn',
 fn: function (aChunkParser){
 var self=this;
 var chunk;
@@ -2124,7 +2124,7 @@ smalltalk.ClassCommentReader.comment="I provide a mechanism for retrieving class
 smalltalk.addMethod(
 smalltalk.method({
 selector: "class:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2140,7 +2140,7 @@ smalltalk.ClassCommentReader);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2156,7 +2156,7 @@ smalltalk.ClassCommentReader);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "scanFrom:",
-category: 'fileIn',
+protocol: 'fileIn',
 fn: function (aChunkParser){
 var self=this;
 var chunk;
@@ -2178,7 +2178,7 @@ smalltalk.ClassCommentReader);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setComment:",
-category: 'private',
+protocol: 'private',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2198,7 +2198,7 @@ smalltalk.ClassSorterNode.comment="I provide an algorithm for sorting classes al
 smalltalk.addMethod(
 smalltalk.method({
 selector: "getNodesFrom:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aCollection){
 var self=this;
 var children,others;
@@ -2232,7 +2232,7 @@ smalltalk.ClassSorterNode);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "level",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2250,7 +2250,7 @@ smalltalk.ClassSorterNode);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "level:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2266,7 +2266,7 @@ smalltalk.ClassSorterNode);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "nodes",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2284,7 +2284,7 @@ smalltalk.ClassSorterNode);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2302,7 +2302,7 @@ smalltalk.ClassSorterNode);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2318,7 +2318,7 @@ smalltalk.ClassSorterNode);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "traverseClassesWith:",
-category: 'visiting',
+protocol: 'visiting',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2349,7 +2349,7 @@ smalltalk.ClassSorterNode);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:classes:level:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aClass,aCollection,anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

File diff suppressed because it is too large
+ 112 - 112
js/Kernel-Collections.js


+ 33 - 33
js/Kernel-Exceptions.js

@@ -7,7 +7,7 @@ smalltalk.Error.comment="From the ANSI standard:\x0a\x0aThis protocol describes
 smalltalk.addMethod(
 smalltalk.method({
 selector: "context",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -23,7 +23,7 @@ smalltalk.Error);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -39,7 +39,7 @@ smalltalk.Error);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isSmalltalkError",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -55,7 +55,7 @@ smalltalk.Error);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "jsStack",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -71,7 +71,7 @@ smalltalk.Error);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageText",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -89,7 +89,7 @@ smalltalk.Error);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageText:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -105,7 +105,7 @@ smalltalk.Error);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "resignal",
-category: 'signaling',
+protocol: 'signaling',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -121,7 +121,7 @@ smalltalk.Error);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "signal",
-category: 'signaling',
+protocol: 'signaling',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -137,7 +137,7 @@ smalltalk.Error);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "signal:",
-category: 'signaling',
+protocol: 'signaling',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -155,7 +155,7 @@ smalltalk.Error);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "heliosClass",
-category: 'helios',
+protocol: 'helios',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -171,7 +171,7 @@ smalltalk.Error.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "signal",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -189,7 +189,7 @@ smalltalk.Error.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "signal:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -210,7 +210,7 @@ smalltalk.JavaScriptException.comment="A JavaScriptException is thrown when a no
 smalltalk.addMethod(
 smalltalk.method({
 selector: "context:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aMethodContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -226,7 +226,7 @@ smalltalk.JavaScriptException);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exception",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -244,7 +244,7 @@ smalltalk.JavaScriptException);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exception:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anException){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -260,7 +260,7 @@ smalltalk.JavaScriptException);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageText",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -277,7 +277,7 @@ smalltalk.JavaScriptException);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (anException){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -298,7 +298,7 @@ smalltalk.JavaScriptException.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:context:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (anException,aMethodContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -323,7 +323,7 @@ smalltalk.MessageNotUnderstood.comment="This exception is provided to support `O
 smalltalk.addMethod(
 smalltalk.method({
 selector: "message",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -341,7 +341,7 @@ smalltalk.MessageNotUnderstood);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "message:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aMessage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -357,7 +357,7 @@ smalltalk.MessageNotUnderstood);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageText",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -376,7 +376,7 @@ smalltalk.MessageNotUnderstood);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "receiver",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -394,7 +394,7 @@ smalltalk.MessageNotUnderstood);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "receiver:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -414,7 +414,7 @@ smalltalk.NonBooleanReceiver.comment="NonBooleanReceiver exceptions may be throw
 smalltalk.addMethod(
 smalltalk.method({
 selector: "object",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -432,7 +432,7 @@ smalltalk.NonBooleanReceiver);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "object:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -452,7 +452,7 @@ smalltalk.ErrorHandler.comment="I am used to manage Smalltalk errors.\x0aSee `bo
 smalltalk.addMethod(
 smalltalk.method({
 selector: "handleError:",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (anError){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -476,7 +476,7 @@ smalltalk.ErrorHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "log:",
-category: 'private',
+protocol: 'private',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -492,7 +492,7 @@ smalltalk.ErrorHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "logContext:",
-category: 'private',
+protocol: 'private',
 fn: function (aContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -516,7 +516,7 @@ smalltalk.ErrorHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "logError:",
-category: 'private',
+protocol: 'private',
 fn: function (anError){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -532,7 +532,7 @@ smalltalk.ErrorHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "logErrorContext:",
-category: 'private',
+protocol: 'private',
 fn: function (aContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -561,7 +561,7 @@ smalltalk.ErrorHandler.klass.iVarNames = ['current'];
 smalltalk.addMethod(
 smalltalk.method({
 selector: "current",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -579,7 +579,7 @@ smalltalk.ErrorHandler.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "register",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $ErrorHandler(){return smalltalk.ErrorHandler||(typeof ErrorHandler=="undefined"?nil:ErrorHandler)}
@@ -596,7 +596,7 @@ smalltalk.ErrorHandler.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setCurrent:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anHandler){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 101 - 101
js/Kernel-ImportExport.js

@@ -7,7 +7,7 @@ smalltalk.AbstractExporter.comment="I am an abstract exporter for Amber source c
 smalltalk.addMethod(
 smalltalk.method({
 selector: "chunkEscape:",
-category: 'convenience',
+protocol: 'convenience',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -25,7 +25,7 @@ smalltalk.AbstractExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "classNameFor:",
-category: 'convenience',
+protocol: 'convenience',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -55,7 +55,7 @@ smalltalk.AbstractExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportPackage:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aPackage,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -71,7 +71,7 @@ smalltalk.AbstractExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "extensionMethodsOfPackage:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 var result;
@@ -96,7 +96,7 @@ smalltalk.AbstractExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "extensionProtocolsOfPackage:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 var extensionName,result;
@@ -135,7 +135,7 @@ smalltalk.ChunkExporter.comment="I am an exporter dedicated to outputting Amber
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportCategoryEpilogueOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aCategory,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -155,7 +155,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportCategoryPrologueOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aCategory,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -178,7 +178,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportDefinitionOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aClass,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -250,7 +250,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportMetaDefinitionOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aClass,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -295,7 +295,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportMethod:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aMethod,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -319,7 +319,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportPackage:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aPackage,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -348,7 +348,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportPackageDefinitionOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aPackage,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -368,7 +368,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportProtocol:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aProtocol,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -389,7 +389,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportProtocolEpilogueOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aProtocol,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -409,7 +409,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportProtocolPrologueOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aProtocol,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -432,7 +432,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportProtocols:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aCollection,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -451,7 +451,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "extensionCategoriesOfPackage:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 var name,map,result;
@@ -501,7 +501,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ownCategoriesOfClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 var map;
@@ -536,7 +536,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ownCategoriesOfMetaClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -554,7 +554,7 @@ smalltalk.ChunkExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ownMethodProtocolsOfClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 function $ExportMethodProtocol(){return smalltalk.ExportMethodProtocol||(typeof ExportMethodProtocol=="undefined"?nil:ExportMethodProtocol)}
@@ -580,7 +580,7 @@ smalltalk.Exporter.comment="I am responsible for outputting Amber code into a Ja
 smalltalk.addMethod(
 smalltalk.method({
 selector: "classNameFor:",
-category: 'convenience',
+protocol: 'convenience',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -610,7 +610,7 @@ smalltalk.Exporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportDefinitionOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aClass,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -683,7 +683,7 @@ smalltalk.Exporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportMetaDefinitionOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aClass,aStream){
 var self=this;
 function $String(){return smalltalk.String||(typeof String=="undefined"?nil:String)}
@@ -733,7 +733,7 @@ smalltalk.Exporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportMethod:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aMethod,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -756,7 +756,7 @@ _st(aStream)._nextPutAll_($1);
 $ctx1.sendIdx["nextPutAll:"]=3;
 _st(aStream)._lf();
 $ctx1.sendIdx["lf"]=3;
-$5="category: '".__comma(_st(aMethod)._protocol());
+$5="protocol: '".__comma(_st(aMethod)._protocol());
 $ctx1.sendIdx[","]=4;
 $4=_st($5).__comma("',");
 $ctx1.sendIdx[","]=3;
@@ -820,7 +820,7 @@ $ctx1.sendIdx["lf"]=11;
 $19=_st(aStream)._lf();
 return self}, function($ctx1) {$ctx1.fill(self,"exportMethod:on:",{aMethod:aMethod,aStream:aStream},smalltalk.Exporter)})},
 args: ["aMethod", "aStream"],
-source: "exportMethod: aMethod on: aStream\x0a\x09aStream\x0a\x09\x09nextPutAll: 'smalltalk.addMethod(';lf;\x0a\x09\x09\x22nextPutAll: aMethod selector asSelector asJavascript, ',';lf;\x22\x0a\x09\x09nextPutAll: 'smalltalk.method({';lf;\x0a\x09\x09nextPutAll: 'selector: ', aMethod selector asJavascript, ',';lf;\x0a\x09\x09nextPutAll: 'category: ''', aMethod protocol, ''',';lf;\x0a\x09\x09nextPutAll: 'fn: ', aMethod fn compiledSource, ',';lf;\x0a\x09\x09nextPutAll: 'args: ', aMethod arguments asJavascript, ','; lf;\x0a\x09\x09nextPutAll: 'source: ', aMethod source asJavascript, ',';lf;\x0a\x09\x09nextPutAll: 'messageSends: ', aMethod messageSends asJavascript, ',';lf;\x0a\x09\x09nextPutAll: 'referencedClasses: ', aMethod referencedClasses asJavascript.\x0a\x09aStream\x0a\x09\x09lf;\x0a\x09\x09nextPutAll: '}),';lf;\x0a\x09\x09nextPutAll: 'smalltalk.', (self classNameFor: aMethod methodClass);\x0a\x09\x09nextPutAll: ');';lf;lf",
+source: "exportMethod: aMethod on: aStream\x0a\x09aStream\x0a\x09\x09nextPutAll: 'smalltalk.addMethod(';lf;\x0a\x09\x09\x22nextPutAll: aMethod selector asSelector asJavascript, ',';lf;\x22\x0a\x09\x09nextPutAll: 'smalltalk.method({';lf;\x0a\x09\x09nextPutAll: 'selector: ', aMethod selector asJavascript, ',';lf;\x0a\x09\x09nextPutAll: 'protocol: ''', aMethod protocol, ''',';lf;\x0a\x09\x09nextPutAll: 'fn: ', aMethod fn compiledSource, ',';lf;\x0a\x09\x09nextPutAll: 'args: ', aMethod arguments asJavascript, ','; lf;\x0a\x09\x09nextPutAll: 'source: ', aMethod source asJavascript, ',';lf;\x0a\x09\x09nextPutAll: 'messageSends: ', aMethod messageSends asJavascript, ',';lf;\x0a\x09\x09nextPutAll: 'referencedClasses: ', aMethod referencedClasses asJavascript.\x0a\x09aStream\x0a\x09\x09lf;\x0a\x09\x09nextPutAll: '}),';lf;\x0a\x09\x09nextPutAll: 'smalltalk.', (self classNameFor: aMethod methodClass);\x0a\x09\x09nextPutAll: ');';lf;lf",
 messageSends: ["nextPutAll:", "lf", ",", "asJavascript", "selector", "protocol", "compiledSource", "fn", "arguments", "source", "messageSends", "referencedClasses", "classNameFor:", "methodClass"],
 referencedClasses: []
 }),
@@ -829,7 +829,7 @@ smalltalk.Exporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportPackage:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aPackage,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -873,7 +873,7 @@ smalltalk.Exporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportPackageDefinitionOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aPackage,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -895,7 +895,7 @@ smalltalk.Exporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportPackageEpilogueOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aPackage,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -913,7 +913,7 @@ smalltalk.Exporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportPackagePrologueOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aPackage,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -931,7 +931,7 @@ smalltalk.Exporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportPackageTransportOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aPackage,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -957,7 +957,7 @@ smalltalk.Exporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ownMethodsOfClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -983,7 +983,7 @@ smalltalk.Exporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ownMethodsOfMetaClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1005,7 +1005,7 @@ smalltalk.AmdExporter.comment="I am used to export Packages in an AMD (Asynchron
 smalltalk.addMethod(
 smalltalk.method({
 selector: "amdNamesOfPackages:",
-category: 'private',
+protocol: 'private',
 fn: function (anArray){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1032,7 +1032,7 @@ smalltalk.AmdExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "amdNamespaceOfPackage:",
-category: 'private',
+protocol: 'private',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1058,7 +1058,7 @@ smalltalk.AmdExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportPackageEpilogueOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aPackage,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1076,7 +1076,7 @@ smalltalk.AmdExporter);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exportPackagePrologueOf:on:",
-category: 'output',
+protocol: 'output',
 fn: function (aPackage,aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1110,7 +1110,7 @@ smalltalk.ChunkParser.comment="I am responsible for parsing aStream contents in
 smalltalk.addMethod(
 smalltalk.method({
 selector: "nextChunk",
-category: 'reading',
+protocol: 'reading',
 fn: function (){
 var self=this;
 var char,result,chunk;
@@ -1154,7 +1154,7 @@ smalltalk.ChunkParser);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "stream:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1171,7 +1171,7 @@ smalltalk.ChunkParser);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1192,7 +1192,7 @@ smalltalk.ExportMethodProtocol.comment="I am an abstraction for a method protoco
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methods",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1215,7 +1215,7 @@ smalltalk.ExportMethodProtocol);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "name",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1233,7 +1233,7 @@ smalltalk.ExportMethodProtocol);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "name:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1249,7 +1249,7 @@ smalltalk.ExportMethodProtocol);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1267,7 +1267,7 @@ smalltalk.ExportMethodProtocol);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "theClass:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1284,7 +1284,7 @@ smalltalk.ExportMethodProtocol);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "name:theClass:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aString,aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1309,7 +1309,7 @@ smalltalk.Importer.comment="I can import Amber code from a string in the chunk f
 smalltalk.addMethod(
 smalltalk.method({
 selector: "import:",
-category: 'fileIn',
+protocol: 'fileIn',
 fn: function (aStream){
 var self=this;
 var chunk,result,parser,lastEmpty;
@@ -1356,7 +1356,7 @@ smalltalk.PackageHandler.comment="I am responsible for handling package loading
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ajaxPutAt:data:",
-category: 'private',
+protocol: 'private',
 fn: function (aURL,aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1391,7 +1391,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "chunkContentsFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 function $String(){return smalltalk.String||(typeof String=="undefined"?nil:String)}
@@ -1413,7 +1413,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "chunkExporter",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1431,7 +1431,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "chunkExporterClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $ChunkExporter(){return smalltalk.ChunkExporter||(typeof ChunkExporter=="undefined"?nil:ChunkExporter)}
@@ -1448,7 +1448,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commit:",
-category: 'committing',
+protocol: 'committing',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1473,7 +1473,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commitJsFileFor:",
-category: 'committing',
+protocol: 'committing',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1494,7 +1494,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commitPathJsFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1510,7 +1510,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commitPathStFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1526,7 +1526,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commitStFileFor:",
-category: 'committing',
+protocol: 'committing',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1547,7 +1547,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "contentsFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 function $String(){return smalltalk.String||(typeof String=="undefined"?nil:String)}
@@ -1569,7 +1569,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exporter",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1587,7 +1587,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exporterClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $Exporter(){return smalltalk.Exporter||(typeof Exporter=="undefined"?nil:Exporter)}
@@ -1604,7 +1604,7 @@ smalltalk.PackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "load:",
-category: 'loading',
+protocol: 'loading',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1624,7 +1624,7 @@ smalltalk.AmdPackageHandler.comment="I am responsible for handling package loadi
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commitPathJsFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1642,7 +1642,7 @@ smalltalk.AmdPackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commitPathStFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1660,7 +1660,7 @@ smalltalk.AmdPackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exporterClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $AmdExporter(){return smalltalk.AmdExporter||(typeof AmdExporter=="undefined"?nil:AmdExporter)}
@@ -1677,7 +1677,7 @@ smalltalk.AmdPackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "load:",
-category: 'loading',
+protocol: 'loading',
 fn: function (aPackage){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -1706,7 +1706,7 @@ smalltalk.AmdPackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "namespaceFor:",
-category: 'committing',
+protocol: 'committing',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1724,7 +1724,7 @@ smalltalk.AmdPackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "toUrl:",
-category: 'private',
+protocol: 'private',
 fn: function (aString){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -1751,7 +1751,7 @@ smalltalk.AmdPackageHandler);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultNamespace",
-category: 'commit paths',
+protocol: 'commit paths',
 fn: function (){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -1770,7 +1770,7 @@ smalltalk.AmdPackageHandler.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultNamespace:",
-category: 'commit paths',
+protocol: 'commit paths',
 fn: function (aString){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -1790,7 +1790,7 @@ smalltalk.PackageTransport.comment="I represent the transport mechanism used to
 smalltalk.addMethod(
 smalltalk.method({
 selector: "asJSON",
-category: 'converting',
+protocol: 'converting',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1808,7 +1808,7 @@ smalltalk.PackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commit",
-category: 'committing',
+protocol: 'committing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1824,7 +1824,7 @@ smalltalk.PackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commitHandler",
-category: 'factory',
+protocol: 'factory',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1842,7 +1842,7 @@ smalltalk.PackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commitHandlerClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1858,7 +1858,7 @@ smalltalk.PackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "definition",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1874,7 +1874,7 @@ smalltalk.PackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "load",
-category: 'loading',
+protocol: 'loading',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1890,7 +1890,7 @@ smalltalk.PackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "package",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1908,7 +1908,7 @@ smalltalk.PackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "package:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aPackage){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1924,7 +1924,7 @@ smalltalk.PackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setupFromJson:",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1939,7 +1939,7 @@ smalltalk.PackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "type",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1959,7 +1959,7 @@ smalltalk.PackageTransport.klass.iVarNames = ['registry'];
 smalltalk.addMethod(
 smalltalk.method({
 selector: "classRegisteredFor:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1977,7 +1977,7 @@ smalltalk.PackageTransport.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultType",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $AmdPackageTransport(){return smalltalk.AmdPackageTransport||(typeof AmdPackageTransport=="undefined"?nil:AmdPackageTransport)}
@@ -1996,7 +1996,7 @@ smalltalk.PackageTransport.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "for:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2014,7 +2014,7 @@ smalltalk.PackageTransport.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "fromJson:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2042,7 +2042,7 @@ smalltalk.PackageTransport.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2060,7 +2060,7 @@ smalltalk.PackageTransport.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "register",
-category: 'registration',
+protocol: 'registration',
 fn: function (){
 var self=this;
 function $PackageTransport(){return smalltalk.PackageTransport||(typeof PackageTransport=="undefined"?nil:PackageTransport)}
@@ -2077,7 +2077,7 @@ smalltalk.PackageTransport.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "register:",
-category: 'registration',
+protocol: 'registration',
 fn: function (aClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2100,7 +2100,7 @@ smalltalk.PackageTransport.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "type",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2119,7 +2119,7 @@ smalltalk.AmdPackageTransport.comment="I am the default transport for committing
 smalltalk.addMethod(
 smalltalk.method({
 selector: "asJSON",
-category: 'converting',
+protocol: 'converting',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2140,7 +2140,7 @@ smalltalk.AmdPackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commitHandlerClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $AmdPackageHandler(){return smalltalk.AmdPackageHandler||(typeof AmdPackageHandler=="undefined"?nil:AmdPackageHandler)}
@@ -2157,7 +2157,7 @@ smalltalk.AmdPackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultNamespace",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -2176,7 +2176,7 @@ smalltalk.AmdPackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "definition",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $String(){return smalltalk.String||(typeof String=="undefined"?nil:String)}
@@ -2205,7 +2205,7 @@ smalltalk.AmdPackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "namespace",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2228,7 +2228,7 @@ smalltalk.AmdPackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "namespace:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2244,7 +2244,7 @@ smalltalk.AmdPackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "printOn:",
-category: 'printing',
+protocol: 'printing',
 fn: function (aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2266,7 +2266,7 @@ smalltalk.AmdPackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setupFromJson:",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2283,7 +2283,7 @@ smalltalk.AmdPackageTransport);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "namespace:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2304,7 +2304,7 @@ smalltalk.AmdPackageTransport.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "type",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2320,7 +2320,7 @@ smalltalk.AmdPackageTransport.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "commit",
-category: '*Kernel-ImportExport',
+protocol: '*Kernel-ImportExport',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2338,7 +2338,7 @@ smalltalk.Package);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "load",
-category: '*Kernel-ImportExport',
+protocol: '*Kernel-ImportExport',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2356,7 +2356,7 @@ smalltalk.Package);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "loadFromNamespace:",
-category: '*Kernel-ImportExport',
+protocol: '*Kernel-ImportExport',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2377,7 +2377,7 @@ smalltalk.Package);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "load:",
-category: '*Kernel-ImportExport',
+protocol: '*Kernel-ImportExport',
 fn: function (aPackageName){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -2393,7 +2393,7 @@ smalltalk.Package.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "load:fromNamespace:",
-category: '*Kernel-ImportExport',
+protocol: '*Kernel-ImportExport',
 fn: function (aPackageName,aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

File diff suppressed because it is too large
+ 112 - 112
js/Kernel-Infrastructure.js


+ 98 - 98
js/Kernel-Methods.js

@@ -7,7 +7,7 @@ smalltalk.BlockClosure.comment="I represent a lexical closure.\x0aI am is direct
 smalltalk.addMethod(
 smalltalk.method({
 selector: "applyTo:arguments:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (anObject,aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -23,7 +23,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "asCompiledMethod:",
-category: 'converting',
+protocol: 'converting',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -39,7 +39,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "compiledSource",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -55,7 +55,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "currySelf",
-category: 'converting',
+protocol: 'converting',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -77,7 +77,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "ensure:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -93,7 +93,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "fork",
-category: 'timeout/interval',
+protocol: 'timeout/interval',
 fn: function (){
 var self=this;
 function $ForkPool(){return smalltalk.ForkPool||(typeof ForkPool=="undefined"?nil:ForkPool)}
@@ -110,7 +110,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "new",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -126,7 +126,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "newValue:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -144,7 +144,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "newValue:value:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (anObject,anObject2){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -162,7 +162,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "newValue:value:value:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (anObject,anObject2,anObject3){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -180,7 +180,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "newWithValues:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -202,7 +202,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "numArgs",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -218,7 +218,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:do:",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (anErrorClass,aBlock){
 var self=this;
 function $Smalltalk(){return smalltalk.Smalltalk||(typeof Smalltalk=="undefined"?nil:Smalltalk)}
@@ -248,7 +248,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "receiver",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -264,7 +264,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "timeToRun",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (){
 var self=this;
 function $Date(){return smalltalk.Date||(typeof Date=="undefined"?nil:Date)}
@@ -283,7 +283,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "value",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -299,7 +299,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "value:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (anArg){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -315,7 +315,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "value:value:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (firstArg,secondArg){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -331,7 +331,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "value:value:value:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (firstArg,secondArg,thirdArg){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -347,7 +347,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "valueWithInterval:",
-category: 'timeout/interval',
+protocol: 'timeout/interval',
 fn: function (aNumber){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -366,7 +366,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "valueWithPossibleArguments:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -382,7 +382,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "valueWithTimeout:",
-category: 'timeout/interval',
+protocol: 'timeout/interval',
 fn: function (aNumber){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -401,7 +401,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "whileFalse",
-category: 'controlling',
+protocol: 'controlling',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -419,7 +419,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "whileFalse:",
-category: 'controlling',
+protocol: 'controlling',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -435,7 +435,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "whileTrue",
-category: 'controlling',
+protocol: 'controlling',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -453,7 +453,7 @@ smalltalk.BlockClosure);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "whileTrue:",
-category: 'controlling',
+protocol: 'controlling',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -473,7 +473,7 @@ smalltalk.CompiledMethod.comment="I represent a class method of the system. I ho
 smalltalk.addMethod(
 smalltalk.method({
 selector: "arguments",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -489,7 +489,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "category",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -507,7 +507,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultProtocol",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -523,7 +523,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "fn",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -541,7 +541,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "fn:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -557,7 +557,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isCompiledMethod",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -573,7 +573,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isOverridden",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 var selector;
@@ -603,7 +603,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isOverride",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 var superclass;
@@ -632,7 +632,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageSends",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -650,7 +650,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodClass",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -668,7 +668,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "protocol",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -691,7 +691,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "protocol:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 var oldProtocol;
@@ -740,7 +740,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "referencedClasses",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -758,7 +758,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -776,7 +776,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -792,7 +792,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "sendTo:arguments:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (anObject,aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -810,7 +810,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "source",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -833,7 +833,7 @@ smalltalk.CompiledMethod);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "source:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -853,7 +853,7 @@ smalltalk.ForkPool.comment="I am responsible for handling forked blocks.\x0aThe
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addWorker",
-category: 'private',
+protocol: 'private',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -870,7 +870,7 @@ smalltalk.ForkPool);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultMaxPoolSize",
-category: 'defaults',
+protocol: 'defaults',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -888,7 +888,7 @@ smalltalk.ForkPool);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "fork:",
-category: 'actions',
+protocol: 'actions',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -909,7 +909,7 @@ smalltalk.ForkPool);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $Queue(){return smalltalk.Queue||(typeof Queue=="undefined"?nil:Queue)}
@@ -929,7 +929,7 @@ smalltalk.ForkPool);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "makeWorker",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 var sentinel;
@@ -970,7 +970,7 @@ smalltalk.ForkPool);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "maxPoolSize",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -993,7 +993,7 @@ smalltalk.ForkPool);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "maxPoolSize:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anInteger){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1011,7 +1011,7 @@ smalltalk.ForkPool.klass.iVarNames = ['default'];
 smalltalk.addMethod(
 smalltalk.method({
 selector: "default",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1035,7 +1035,7 @@ smalltalk.ForkPool.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "defaultMaxPoolSize",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1051,7 +1051,7 @@ smalltalk.ForkPool.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "resetDefault",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1070,7 +1070,7 @@ smalltalk.Message.comment="In general, the system does not use instances of me f
 smalltalk.addMethod(
 smalltalk.method({
 selector: "arguments",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1088,7 +1088,7 @@ smalltalk.Message);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "arguments:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anArray){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1104,7 +1104,7 @@ smalltalk.Message);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "printOn:",
-category: 'printing',
+protocol: 'printing',
 fn: function (aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1126,7 +1126,7 @@ smalltalk.Message);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1144,7 +1144,7 @@ smalltalk.Message);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1160,7 +1160,7 @@ smalltalk.Message);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "sendTo:",
-category: 'actions',
+protocol: 'actions',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1179,7 +1179,7 @@ smalltalk.Message);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector:arguments:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aString,anArray){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1204,7 +1204,7 @@ smalltalk.MessageSend.comment="I encapsulate message sends to objects. Arguments
 smalltalk.addMethod(
 smalltalk.method({
 selector: "arguments",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1222,7 +1222,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "arguments:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1238,7 +1238,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $Message(){return smalltalk.Message||(typeof Message=="undefined"?nil:Message)}
@@ -1256,7 +1256,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "printOn:",
-category: 'printing',
+protocol: 'printing',
 fn: function (aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1282,7 +1282,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "receiver",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1300,7 +1300,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "receiver:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1316,7 +1316,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1334,7 +1334,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1350,7 +1350,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "value",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1368,7 +1368,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "value:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1389,7 +1389,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "value:value:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (firstArgument,secondArgument){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1410,7 +1410,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "value:value:value:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (firstArgument,secondArgument,thirdArgument){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1431,7 +1431,7 @@ smalltalk.MessageSend);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "valueWithPossibleArguments:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1454,7 +1454,7 @@ smalltalk.MethodContext.comment="I hold all the dynamic state associated with th
 smalltalk.addMethod(
 smalltalk.method({
 selector: "asString",
-category: 'converting',
+protocol: 'converting',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1481,7 +1481,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "evaluatedSelector",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1497,7 +1497,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "home",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1513,7 +1513,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "index",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1529,7 +1529,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isBlockContext",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1547,7 +1547,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "locals",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1563,7 +1563,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "method",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1591,7 +1591,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "methodContext",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1620,7 +1620,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "outerContext",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1636,7 +1636,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "printOn:",
-category: 'printing',
+protocol: 'printing',
 fn: function (aStream){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1658,7 +1658,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "receiver",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1674,7 +1674,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1696,7 +1696,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "sendIndexAt:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aSelector){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1712,7 +1712,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "sendIndexes",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1728,7 +1728,7 @@ smalltalk.MethodContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "temps",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1752,7 +1752,7 @@ smalltalk.NativeFunction.comment="I am a wrapper around native functions, such a
 smalltalk.addMethod(
 smalltalk.method({
 selector: "constructor:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1771,7 +1771,7 @@ smalltalk.NativeFunction.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "constructor:value:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aString,anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1790,7 +1790,7 @@ smalltalk.NativeFunction.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "constructor:value:value:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aString,anObject,anObject2){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1809,7 +1809,7 @@ smalltalk.NativeFunction.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "constructor:value:value:value:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aString,anObject,anObject2,anObject3){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1828,7 +1828,7 @@ smalltalk.NativeFunction.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "exists:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aString){
 var self=this;
 function $PlatformInterface(){return smalltalk.PlatformInterface||(typeof PlatformInterface=="undefined"?nil:PlatformInterface)}
@@ -1850,7 +1850,7 @@ smalltalk.Timeout.comment="I am wrapping the returns from `set{Timeout,Interval}
 smalltalk.addMethod(
 smalltalk.method({
 selector: "clearInterval",
-category: 'timeout/interval',
+protocol: 'timeout/interval',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1869,7 +1869,7 @@ smalltalk.Timeout);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "clearTimeout",
-category: 'timeout/interval',
+protocol: 'timeout/interval',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1888,7 +1888,7 @@ smalltalk.Timeout);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "rawTimeout:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1905,7 +1905,7 @@ smalltalk.Timeout);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

File diff suppressed because it is too large
+ 112 - 112
js/Kernel-Objects.js


File diff suppressed because it is too large
+ 112 - 112
js/Kernel-Tests.js


+ 13 - 13
js/Kernel-Transcript.js

@@ -7,7 +7,7 @@ smalltalk.ConsoleTranscript.comment="I am a specific transcript emitting to the
 smalltalk.addMethod(
 smalltalk.method({
 selector: "clear",
-category: 'printing',
+protocol: 'printing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -22,7 +22,7 @@ smalltalk.ConsoleTranscript);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "cr",
-category: 'printing',
+protocol: 'printing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -37,7 +37,7 @@ smalltalk.ConsoleTranscript);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "open",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -52,7 +52,7 @@ smalltalk.ConsoleTranscript);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "show:",
-category: 'printing',
+protocol: 'printing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -69,7 +69,7 @@ smalltalk.ConsoleTranscript);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $Transcript(){return smalltalk.Transcript||(typeof Transcript=="undefined"?nil:Transcript)}
@@ -91,7 +91,7 @@ smalltalk.Transcript.klass.iVarNames = ['current'];
 smalltalk.addMethod(
 smalltalk.method({
 selector: "clear",
-category: 'printing',
+protocol: 'printing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -107,7 +107,7 @@ smalltalk.Transcript.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "cr",
-category: 'printing',
+protocol: 'printing',
 fn: function (){
 var self=this;
 function $String(){return smalltalk.String||(typeof String=="undefined"?nil:String)}
@@ -124,7 +124,7 @@ smalltalk.Transcript.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "current",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -142,7 +142,7 @@ smalltalk.Transcript.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "inspect:",
-category: 'printing',
+protocol: 'printing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -158,7 +158,7 @@ smalltalk.Transcript.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "new",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -174,7 +174,7 @@ smalltalk.Transcript.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "open",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -190,7 +190,7 @@ smalltalk.Transcript.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "register:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aTranscript){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -206,7 +206,7 @@ smalltalk.Transcript.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "show:",
-category: 'printing',
+protocol: 'printing',
 fn: function (anObject){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 23 - 23
js/SUnit-Tests.js

@@ -7,7 +7,7 @@ smalltalk.ExampleSetTest.comment="ExampleSetTest is taken from Pharo 1.4.\x0a\x0
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setUp",
-category: 'running',
+protocol: 'running',
 fn: function (){
 var self=this;
 function $Set(){return smalltalk.Set||(typeof Set=="undefined"?nil:Set)}
@@ -25,7 +25,7 @@ smalltalk.ExampleSetTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testAdd",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -42,7 +42,7 @@ smalltalk.ExampleSetTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testGrow",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -59,7 +59,7 @@ smalltalk.ExampleSetTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testIllegal",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 function $Error(){return smalltalk.Error||(typeof Error=="undefined"?nil:Error)}
@@ -84,7 +84,7 @@ smalltalk.ExampleSetTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testIncludes",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -105,7 +105,7 @@ smalltalk.ExampleSetTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testOccurrences",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -131,7 +131,7 @@ smalltalk.ExampleSetTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testRemove",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -155,7 +155,7 @@ smalltalk.addClass('SUnitAsyncTest', smalltalk.TestCase, ['flag'], 'SUnit-Tests'
 smalltalk.addMethod(
 smalltalk.method({
 selector: "fakeError",
-category: 'helpers',
+protocol: 'helpers',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -178,7 +178,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "fakeErrorFailingInTearDown",
-category: 'helpers',
+protocol: 'helpers',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -199,7 +199,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "fakeFailure",
-category: 'helpers',
+protocol: 'helpers',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -222,7 +222,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "fakeMultipleTimeoutFailing",
-category: 'helpers',
+protocol: 'helpers',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -251,7 +251,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "fakeMultipleTimeoutPassing",
-category: 'helpers',
+protocol: 'helpers',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -280,7 +280,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "fakeTimeout",
-category: 'helpers',
+protocol: 'helpers',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -300,7 +300,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selectorSetOf:",
-category: 'private',
+protocol: 'private',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -321,7 +321,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setUp",
-category: 'running',
+protocol: 'running',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -337,7 +337,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tearDown",
-category: 'running',
+protocol: 'running',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -353,7 +353,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testAsyncErrorsAndFailures",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var suite,runner,result,assertBlock;
@@ -400,7 +400,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testAsyncNeedsTimeout",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 function $Error(){return smalltalk.Error||(typeof Error=="undefined"?nil:Error)}
@@ -431,7 +431,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testFinishedNeedsTimeout",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 function $Error(){return smalltalk.Error||(typeof Error=="undefined"?nil:Error)}
@@ -457,7 +457,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testIsAsyncReturnsCorrectValues",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -483,7 +483,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testPass",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -507,7 +507,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testTimeouts",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var suite,runner,result,assertBlock;
@@ -553,7 +553,7 @@ smalltalk.SUnitAsyncTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testTwoAsyncPassesWithFinishedOnlyOneIsRun",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var x;

+ 61 - 61
js/SUnit.js

@@ -7,7 +7,7 @@ smalltalk.ResultAnnouncement.comment="I get signaled when a `TestCase` has been
 smalltalk.addMethod(
 smalltalk.method({
 selector: "result",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -25,7 +25,7 @@ smalltalk.ResultAnnouncement);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "result:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aTestResult){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -45,7 +45,7 @@ smalltalk.TestCase.comment="I am an implementation of the command pattern to run
 smalltalk.addMethod(
 smalltalk.method({
 selector: "assert:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aBoolean){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -61,7 +61,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "assert:description:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aBoolean,aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -79,7 +79,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "assert:equals:",
-category: 'testing',
+protocol: 'testing',
 fn: function (actual,expected){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -105,7 +105,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "async:",
-category: 'async',
+protocol: 'async',
 fn: function (aBlock){
 var self=this;
 var c;
@@ -132,7 +132,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "context:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aRunningTestContext){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -148,7 +148,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "deny:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aBoolean){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -164,7 +164,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "errorIfNotAsync:",
-category: 'error handling',
+protocol: 'error handling',
 fn: function (aString){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -184,7 +184,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "finished",
-category: 'async',
+protocol: 'async',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -201,7 +201,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isAsync",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -219,7 +219,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "performTest",
-category: 'running',
+protocol: 'running',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -236,7 +236,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "runCase",
-category: 'running',
+protocol: 'running',
 fn: function (){
 var self=this;
 function $TestContext(){return smalltalk.TestContext||(typeof TestContext=="undefined"?nil:TestContext)}
@@ -253,7 +253,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -271,7 +271,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setTestSelector:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aSelector){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -287,7 +287,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setUp",
-category: 'running',
+protocol: 'running',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -302,7 +302,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "should:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -318,7 +318,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "should:raise:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aBlock,anExceptionClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -341,7 +341,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "shouldnt:raise:",
-category: 'testing',
+protocol: 'testing',
 fn: function (aBlock,anExceptionClass){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -364,7 +364,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "signalFailure:",
-category: 'private',
+protocol: 'private',
 fn: function (aString){
 var self=this;
 function $TestFailure(){return smalltalk.TestFailure||(typeof TestFailure=="undefined"?nil:TestFailure)}
@@ -384,7 +384,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tearDown",
-category: 'running',
+protocol: 'running',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -399,7 +399,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "timeout:",
-category: 'async',
+protocol: 'async',
 fn: function (aNumber){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -427,7 +427,7 @@ smalltalk.TestCase);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "allTestSelectors",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 var selectors;
@@ -451,7 +451,7 @@ smalltalk.TestCase.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "buildSuite",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -472,7 +472,7 @@ smalltalk.TestCase.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "heliosClass",
-category: 'helios',
+protocol: 'helios',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -488,7 +488,7 @@ smalltalk.TestCase.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isAbstract",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -506,7 +506,7 @@ smalltalk.TestCase.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "lookupHierarchyRoot",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 function $TestCase(){return smalltalk.TestCase||(typeof TestCase=="undefined"?nil:TestCase)}
@@ -523,7 +523,7 @@ smalltalk.TestCase.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "selector:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aSelector){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -544,7 +544,7 @@ smalltalk.TestCase.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "shouldInheritSelectors",
-category: 'testing',
+protocol: 'testing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -562,7 +562,7 @@ smalltalk.TestCase.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testSelectors",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -586,7 +586,7 @@ smalltalk.TestContext.comment="I govern running a particular test case.\x0a\x0aM
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute:",
-category: 'running',
+protocol: 'running',
 fn: function (aBlock){
 var self=this;
 var failed;
@@ -628,7 +628,7 @@ smalltalk.TestContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "start",
-category: 'running',
+protocol: 'running',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -648,7 +648,7 @@ smalltalk.TestContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testCase:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aTestCase){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -665,7 +665,7 @@ smalltalk.TestContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testCase:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aTestCase){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -689,7 +689,7 @@ smalltalk.ReportingTestContext.comment="I add `TestResult` reporting to `TestCon
 smalltalk.addMethod(
 smalltalk.method({
 selector: "execute:",
-category: 'running',
+protocol: 'running',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -719,7 +719,7 @@ smalltalk.ReportingTestContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "finished:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -735,7 +735,7 @@ smalltalk.ReportingTestContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "result:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aTestResult){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -751,7 +751,7 @@ smalltalk.ReportingTestContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "withErrorReporting:",
-category: 'private',
+protocol: 'private',
 fn: function (aBlock){
 var self=this;
 function $TestFailure(){return smalltalk.TestFailure||(typeof TestFailure=="undefined"?nil:TestFailure)}
@@ -780,7 +780,7 @@ smalltalk.ReportingTestContext);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testCase:result:finished:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aTestCase,aTestResult,aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -809,7 +809,7 @@ smalltalk.TestResult.comment="I implement the collecting parameter pattern for r
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addError:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (anError){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -825,7 +825,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "addFailure:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aFailure){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -841,7 +841,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "errors",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -859,7 +859,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "failures",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -877,7 +877,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "increaseRuns",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -893,7 +893,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $Date(){return smalltalk.Date||(typeof Date=="undefined"?nil:Date)}
@@ -917,7 +917,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "nextRunDo:",
-category: 'running',
+protocol: 'running',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -940,7 +940,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "runCase:",
-category: 'running',
+protocol: 'running',
 fn: function (aTestCase){
 var self=this;
 function $TestFailure(){return smalltalk.TestFailure||(typeof TestFailure=="undefined"?nil:TestFailure)}
@@ -972,7 +972,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "runs",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -990,7 +990,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "status",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1019,7 +1019,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "timestamp",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1037,7 +1037,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "total",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1055,7 +1055,7 @@ smalltalk.TestResult);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "total:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aNumber){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1075,7 +1075,7 @@ smalltalk.TestSuiteRunner.comment="I am responsible for running a collection (`s
 smalltalk.addMethod(
 smalltalk.method({
 selector: "announcer",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1093,7 +1093,7 @@ smalltalk.TestSuiteRunner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "contextOf:",
-category: 'private',
+protocol: 'private',
 fn: function (anInteger){
 var self=this;
 function $ReportingTestContext(){return smalltalk.ReportingTestContext||(typeof ReportingTestContext=="undefined"?nil:ReportingTestContext)}
@@ -1115,7 +1115,7 @@ smalltalk.TestSuiteRunner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $Announcer(){return smalltalk.Announcer||(typeof Announcer=="undefined"?nil:Announcer)}
@@ -1147,7 +1147,7 @@ smalltalk.TestSuiteRunner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "result",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1165,7 +1165,7 @@ smalltalk.TestSuiteRunner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "resume",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 function $ResultAnnouncement(){return smalltalk.ResultAnnouncement||(typeof ResultAnnouncement=="undefined"?nil:ResultAnnouncement)}
@@ -1183,7 +1183,7 @@ smalltalk.TestSuiteRunner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "run",
-category: 'actions',
+protocol: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1200,7 +1200,7 @@ smalltalk.TestSuiteRunner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "suite:",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1217,7 +1217,7 @@ smalltalk.TestSuiteRunner);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "new",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -1233,7 +1233,7 @@ smalltalk.TestSuiteRunner.klass);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aCollection){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 17 - 17
js/Spaces.js

@@ -7,7 +7,7 @@ smalltalk.ObjectSpace.comment="I am a connection to another Smalltalk environmen
 smalltalk.addMethod(
 smalltalk.method({
 selector: "connectTo:",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (aFrame){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -24,7 +24,7 @@ smalltalk.ObjectSpace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "create",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -45,7 +45,7 @@ smalltalk.ObjectSpace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "destroy",
-category: 'releasing',
+protocol: 'releasing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -69,7 +69,7 @@ smalltalk.ObjectSpace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "do:",
-category: 'evaluating',
+protocol: 'evaluating',
 fn: function (aBlock){
 var self=this;
 function $ObjectSpaceConnectionError(){return smalltalk.ObjectSpaceConnectionError||(typeof ObjectSpaceConnectionError=="undefined"?nil:ObjectSpaceConnectionError)}
@@ -96,7 +96,7 @@ smalltalk.ObjectSpace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "frame",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -114,7 +114,7 @@ smalltalk.ObjectSpace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "initialize",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -131,7 +131,7 @@ smalltalk.ObjectSpace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "isConnected",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -149,7 +149,7 @@ smalltalk.ObjectSpace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "release",
-category: 'releasing',
+protocol: 'releasing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -165,7 +165,7 @@ smalltalk.ObjectSpace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "whenReadyDo:",
-category: 'events',
+protocol: 'events',
 fn: function (aBlock){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -182,7 +182,7 @@ smalltalk.ObjectSpace);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "on:",
-category: 'instance creation',
+protocol: 'instance creation',
 fn: function (aFrame){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -205,7 +205,7 @@ smalltalk.addClass('ObjectSpaceConnectionError', smalltalk.Error, [], 'Spaces');
 smalltalk.addMethod(
 smalltalk.method({
 selector: "messageText",
-category: 'accessing',
+protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -224,7 +224,7 @@ smalltalk.addClass('ObjectSpaceTest', smalltalk.TestCase, ['space'], 'Spaces');
 smalltalk.addMethod(
 smalltalk.method({
 selector: "setUp",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 function $ObjectSpace(){return smalltalk.ObjectSpace||(typeof ObjectSpace=="undefined"?nil:ObjectSpace)}
@@ -241,7 +241,7 @@ smalltalk.ObjectSpaceTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tearDown",
-category: 'initialization',
+protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -257,7 +257,7 @@ smalltalk.ObjectSpaceTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testConnection",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 function $ObjectSpaceConnectionError(){return smalltalk.ObjectSpaceConnectionError||(typeof ObjectSpaceConnectionError=="undefined"?nil:ObjectSpaceConnectionError)}
@@ -281,7 +281,7 @@ smalltalk.ObjectSpaceTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testCreate",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
@@ -299,7 +299,7 @@ smalltalk.ObjectSpaceTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testEvaluation",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 var result;
@@ -332,7 +332,7 @@ smalltalk.ObjectSpaceTest);
 smalltalk.addMethod(
 smalltalk.method({
 selector: "testRelease",
-category: 'tests',
+protocol: 'tests',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 

+ 14 - 14
st/IDE.st

@@ -2343,45 +2343,45 @@ inspectOn: anInspector
 	anInspector setLabel: label
 ! !
 
-!MethodContext methodsFor: '*IDE'!
+!HashedCollection methodsFor: '*IDE'!
 
 inspectOn: anInspector
 	| variables |
 	variables := Dictionary new.
 	variables at: '#self' put: self.
-	variables at: '#home' put: self home.
-	variables at: '#receiver' put: self receiver.
-	variables at: '#selector' put: self selector.
-	variables at: '#temps' put: self temps.
-	self class instanceVariableNames do: [ :each |
-		variables at: each put: (self instVarAt: each) ].
+	variables at: '#keys' put: self keys.
+	self keysAndValuesDo: [ :key :value |
+		variables at: key put: value ].
 	anInspector
 		setLabel: self printString;
 		setVariables: variables
 ! !
 
-!HashedCollection methodsFor: '*IDE'!
+!Set methodsFor: '*IDE'!
 
 inspectOn: anInspector
 	| variables |
 	variables := Dictionary new.
 	variables at: '#self' put: self.
-	variables at: '#keys' put: self keys.
-	self keysAndValuesDo: [ :key :value |
-		variables at: key put: value ].
+	elements withIndexDo: [ :each :i |
+		variables at: i put: each ].
 	anInspector
 		setLabel: self printString;
 		setVariables: variables
 ! !
 
-!Set methodsFor: '*IDE'!
+!MethodContext methodsFor: '*IDE'!
 
 inspectOn: anInspector
 	| variables |
 	variables := Dictionary new.
 	variables at: '#self' put: self.
-	elements withIndexDo: [ :each :i |
-		variables at: i put: each ].
+	variables at: '#home' put: self home.
+	variables at: '#receiver' put: self receiver.
+	variables at: '#selector' put: self selector.
+	variables at: '#temps' put: self temps.
+	self class instanceVariableNames do: [ :each |
+		variables at: each put: (self instVarAt: each) ].
 	anInspector
 		setLabel: self printString;
 		setVariables: variables

+ 1 - 1
st/Kernel-ImportExport.st

@@ -299,7 +299,7 @@ exportMethod: aMethod on: aStream
 		"nextPutAll: aMethod selector asSelector asJavascript, ',';lf;"
 		nextPutAll: 'smalltalk.method({';lf;
 		nextPutAll: 'selector: ', aMethod selector asJavascript, ',';lf;
-		nextPutAll: 'category: ''', aMethod protocol, ''',';lf;
+		nextPutAll: 'protocol: ''', aMethod protocol, ''',';lf;
 		nextPutAll: 'fn: ', aMethod fn compiledSource, ',';lf;
 		nextPutAll: 'args: ', aMethod arguments asJavascript, ','; lf;
 		nextPutAll: 'source: ', aMethod source asJavascript, ',';lf;

Some files were not shown because too many files changed in this diff