Scanner.st
changeset 1530 ed400d564510
parent 1511 c28bade9caf6
child 1563 207841f4402e
equal deleted inserted replaced
1529:806c5c44cce8 1530:ed400d564510
   346      self allowQualifiedNames:false
   346      self allowQualifiedNames:false
   347     "
   347     "
   348 !
   348 !
   349 
   349 
   350 allowSqueakExtensions
   350 allowSqueakExtensions
   351     "return true, if {..} computed arrays are allowed"
   351     "return true, if support for squeak extensions
       
   352         computed arrays { .., }
       
   353         c/java style arguments in message sends rec foo(arg1, ... argN)
       
   354      is enabled."
   352 
   355 
   353     ^ AllowSqueakExtensions
   356     ^ AllowSqueakExtensions
   354 !
   357 !
   355 
   358 
   356 allowSqueakExtensions:aBoolean
   359 allowSqueakExtensions:aBoolean
   357     "this allows turning on/off support for computed arrays { .., } as in squeak.
   360     "this allows turning on/off support for squeak extensions:
       
   361         computed arrays { .., }
       
   362         c/java style arguments in message sends rec foo(arg1, ... argN)
       
   363 
   358      If you want to fileIn Squeak classes, enable this with:
   364      If you want to fileIn Squeak classes, enable this with:
   359         Compiler allowSqueakComputedArrays:true"
   365         Compiler allowSqueakComputedArrays:true"
   360 
   366 
   361     AllowSqueakExtensions := aBoolean.
   367     AllowSqueakExtensions := aBoolean.
   362 
   368 
   730 allowOldStyleAssignment:aBoolean
   736 allowOldStyleAssignment:aBoolean
   731     allowOldStyleAssignment := aBoolean
   737     allowOldStyleAssignment := aBoolean
   732 !
   738 !
   733 
   739 
   734 allowSqueakExtensions
   740 allowSqueakExtensions
       
   741     "return true, if support for squeak extensions
       
   742         computed arrays { .., }
       
   743         c/java style arguments in message sends rec foo(arg1, ... argN)
       
   744      is enabled."
       
   745 
   735     ^ allowSqueakExtensions
   746     ^ allowSqueakExtensions
   736 !
   747 !
   737 
   748 
   738 allowSqueakExtensions:aBoolean
   749 allowSqueakExtensions:aBoolean
       
   750     "this allows turning on/off support for squeak extensions:
       
   751         computed arrays { .., }
       
   752         c/java style arguments in message sends rec foo(arg1, ... argN)
       
   753     "
       
   754 
   739     allowSqueakExtensions := aBoolean
   755     allowSqueakExtensions := aBoolean
   740 !
   756 !
   741 
   757 
   742 allowUnderscoreInIdentifier
   758 allowUnderscoreInIdentifier
   743     ^ allowUnderscoreInIdentifier
   759     ^ allowUnderscoreInIdentifier
  2698 ! !
  2714 ! !
  2699 
  2715 
  2700 !Scanner class methodsFor:'documentation'!
  2716 !Scanner class methodsFor:'documentation'!
  2701 
  2717 
  2702 version
  2718 version
  2703     ^ '$Header: /cvs/stx/stx/libcomp/Scanner.st,v 1.190 2004-05-12 22:05:45 stefan Exp $'
  2719     ^ '$Header: /cvs/stx/stx/libcomp/Scanner.st,v 1.191 2004-07-07 09:16:49 cg Exp $'
  2704 ! !
  2720 ! !
  2705 
  2721 
  2706 Scanner initialize!
  2722 Scanner initialize!