Click or drag to resize

_Codeblock Class

X#
Internal type that is the base class for macro compiled codeblocks.
Inheritance Hierarchy
Object
  Codeblock
    _Codeblock

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 CLASS _Codeblock INHERIT Codeblock,  IMPLEMENTS IRtCodeblock, 
	ICodeblock2, ICodeblock
Request Example View Source

The _Codeblock type exposes the following members.

Constructors
  NameDescription
Public method_Codeblock
This constructor is used by the Macro Compiler
Top
Properties
  NameDescription
Public propertyIsBlock
Was the codeblock created from a string that started with "{|"
Public propertyResultType
Returns the real /original return type of the EvalBlock() method
(Inherited from Codeblock.)
Top
Methods
  NameDescription
Public methodEval
Executes the codeblock.
(Overrides Eval(Usual).)
Public methodEvalBlock
Eval method that can be called from code that does not "know" about the USUAL type. such as the code in the RDD classes.
(Inherited from Codeblock.)
Public methodPCount
Returns the number of parameters in the codeblock
(Inherited from Codeblock.)
Public methodToString
Returns the original string that was used to create the macro compiled codeblock.
(Overrides ToString.)
Top
See Also