-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCFunction.cls
More file actions
32 lines (29 loc) · 1.03 KB
/
CFunction.cls
File metadata and controls
32 lines (29 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
Persistable = 0 'NotPersistable
DataBindingBehavior = 0 'vbNone
DataSourceBehavior = 0 'vbNone
MTSTransactionMode = 0 'NotAnMTSObject
END
Attribute VB_Name = "CFunction"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
'Author: David Zimmer <dzzie@yahoo.com>
'AI: Claude.ai
'Site: http://sandsprite.com
'License: MIT
'------------------------------------------------------------
' CFunction.cls - Runtime function representation
' "Functions are first-class citizens!"
'------------------------------------------------------------
Option Explicit
Public Params As Collection ' Collection of parameter names (strings)
Public Body As CNode ' Function body (BlockStatement)
Public closure As CScope ' Closure scope (where function was defined)
Public Name As String ' Function name (can be empty for anonymous)
Private Sub Class_Initialize()
Set Params = New Collection
End Sub