eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'VarArgCheapBlock':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: VarArgCheapBlock


Inheritance:

   Object
   |
   +--ExecutableFunction
      |
      +--CompiledCode
         |
         +--Block
            |
            +--CheapBlock
               |
               +--VarArgCheapBlock

Package:
stx:libbasic
Category:
Kernel-Methods
Version:
rev: 1.8 date: 2017/10/11 13:55:36
user: cg
file: VarArgCheapBlock.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

Description:


read the documentation in VarArgBlock.


Related information:

    VarArgBlock
    Block
    CheapBlock

Class protocol:

initialization
o  initialize
must clear the is-block flag bit in the class
(otherwise, the VM might try to inline value-messages)

usage example(s):

     self flags.
     self initialize.
     self flags.


Instance protocol:

evaluation
o  value
evaluate the receiver with no block args.

o  value: arg
evaluate the receiver with a single argument.

o  value: arg1 value: arg2
evaluate the receiver with two arguments.

o  value: arg1 value: arg2 value: arg3
evaluate the receiver with three arguments.

o  value: arg1 value: arg2 value: arg3 value: arg4
evaluate the receiver with four arguments.

o  value: arg1 value: arg2 value: arg3 value: arg4 value: arg5
evaluate the receiver with five arguments.

o  value: arg1 value: arg2 value: arg3 value: arg4 value: arg5 value: arg6
evaluate the receiver with six arguments.

o  value: arg1 value: arg2 value: arg3 value: arg4 value: arg5 value: arg6 value: arg7
evaluate the receiver with seven arguments.

o  value: arg1 value: arg2 value: arg3 value: arg4 value: arg5 value: arg6 value: arg7 value: arg8
evaluate the receiver with eight arguments.

o  valueWithArguments: argArray
evaluate the receiver with all arguments in argArray.

testing
o  isVarArgBlock
return true, if this block accepts a variable number of arguments



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 07 Apr 2020 15:54:04 GMT