Skip to main content

%Stream.MethodGenerator

Class %Stream.MethodGenerator Extends %Stream.GlobalCharacter [ System = 2 ]

Provided by the object based method generator so you have a stream to write the code to and to set the type of code.

Properties

CodeMode

Property CodeMode As %String(VALUELIST = ",call,code,expression,") [ InitialExpression = "code" ];

Specified the type of code this stream represents. This is one of

  • code : A block of code, this is the default value
  • expression : An expression
  • call : A call to another routine

Language

Property Language As %String(VALUELIST = ",objectscript,cache,basic,java,tsql,javascript,mvbasic,") [ InitialExpression = "objectscript" ];