Click or drag to resize

CompilerServices Class

X#
This class contains helper code that is called by the compiler to support various XBase language constructs, such as the automatic memory management of PSZ values created with String2Psz().
Inheritance Hierarchy
Object
  CompilerServices

Namespace:  XSharp.Internal
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 STATIC CLASS CompilerServices
Request Example View Source

The CompilerServices type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCanBreak
Determine if we are inside a BEGIN SEQUENCE .. END by looking at the SEQUENCE counter in the runtime.
Public methodStatic memberEnterBeginSequence
Increment the SEQUENCE counter for a BEGIN SEQUENCE statement
Public methodStatic memberExitBeginSequence
Decrement the SEQUENCE counter for a BEGIN SEQUENCE statement
Public methodStatic memberString2Psz
Allocate a PSZ and add it to the list
Public methodStatic memberString2PszRelease
Free all PSZ values in the List
Public methodStatic memberStringArrayInit
Public methodStatic memberStringSubtract
Subtract 2 strings.
Top
See Also