Properties
Private
Readonly
OP_PARAMS
OP_PARAMS: {
[type: string]: {
args: number;
fn: ((node: ts.Node) => void);
name: string;
type?: string;
}[];
} = ...
Type declaration
-
[type: string]: {
args: number;
fn: ((node: ts.Node) => void);
name: string;
type?: string;
}[]
abi
abi: {
desc: string;
methods: ABIMethod[];
name: string;
} = ...
Type declaration
-
desc: string
-
methods: ABIMethod[]
-
name: string
Private
algodPort
algodPort: number
Private
algodServer
algodServer: string
Private
algodToken
algodToken: string
Private
andCount
andCount: number = 0
Private
bareCallConfig
bareCallConfig: {
ClearState?: {
action: "CALL" | "CREATE";
method: string;
};
CloseOut?: {
action: "CALL" | "CREATE";
method: string;
};
DeleteApplication?: {
action: "CALL" | "CREATE";
method: string;
};
NoOp?: {
action: "CALL" | "CREATE" | "NEVER";
method: string;
};
OptIn?: {
action: "CALL" | "CREATE";
method: string;
};
UpdateApplication?: {
action: "CALL" | "CREATE";
method: string;
};
} = {}
Type declaration
-
Optional
ClearState?: {
action: "CALL" | "CREATE";
method: string;
}
-
action: "CALL" | "CREATE"
-
method: string
-
Optional
CloseOut?: {
action: "CALL" | "CREATE";
method: string;
}
-
action: "CALL" | "CREATE"
-
method: string
-
Optional
DeleteApplication?: {
action: "CALL" | "CREATE";
method: string;
}
-
action: "CALL" | "CREATE"
-
method: string
-
Optional
NoOp?: {
action: "CALL" | "CREATE" | "NEVER";
method: string;
}
-
action: "CALL" | "CREATE" | "NEVER"
-
method: string
-
Optional
OptIn?: {
action: "CALL" | "CREATE";
method: string;
}
-
action: "CALL" | "CREATE"
-
method: string
-
Optional
UpdateApplication?: {
action: "CALL" | "CREATE";
method: string;
}
-
action: "CALL" | "CREATE"
-
method: string
Private
classNode
classNode: ClassDeclaration
Private
clearStateCompiled
clearStateCompiled: boolean = false
clearTeal
clearTeal: string[] = ...
Private
comments
comments: number[] = []
Private
compilerSubroutines
compilerSubroutines: {
[name: string]: (() => string[]);
} = ...
Type declaration
-
[name: string]: (() => string[])
-
- (): string[]
-
Returns string[]
Private
compilingApproval
compilingApproval: boolean = true
Private
constants
constants: {
[name: string]: ts.Node;
}
Private
contractClasses
contractClasses: string[] = []
Private
currentSubroutine
currentSubroutine: Subroutine
Private
customMethods
customMethods: {
[methodName: string]: ((node: ts.CallExpression) => void);
} = ...
Type declaration
-
[methodName: string]: ((node: ts.CallExpression) => void)
-
- (node: ts.CallExpression): void
-
Returns void
Private
customTypes
customTypes: {
[name: string]: string;
} = {}
Private
disableWarnings
disableWarnings: boolean
filename
filename: string
Private
forCount
forCount: number = 0
Private
frame
frame: {
[name: string]: {
accessors?: (ts.Expression | string)[];
framePointer?: string;
index?: number;
storageAccountFrame?: string;
storageExpression?: ts.PropertyAccessExpression;
storageKeyFrame?: string;
type: string;
};
} = {}
Type declaration
-
[name: string]: {
accessors?: (ts.Expression | string)[];
framePointer?: string;
index?: number;
storageAccountFrame?: string;
storageExpression?: ts.PropertyAccessExpression;
storageKeyFrame?: string;
type: string;
}
-
Optional
accessors?: (ts.Expression | string)[]
-
Optional
framePointer?: string
-
Optional
index?: number
-
Optional
storageAccountFrame?: string
-
Optional
storageExpression?: ts.PropertyAccessExpression
-
Optional
storageKeyFrame?: string
-
type: string
Private
frameIndex
frameIndex: number = 0
Private
frameInfo
frameInfo: {
[name: string]: {
end: number;
frame: {
[index: number]: {
name: string;
type: string;
};
};
start: number;
};
} = {}
Type declaration
-
[name: string]: {
end: number;
frame: {
[index: number]: {
name: string;
type: string;
};
};
start: number;
}
-
end: number
-
frame: {
[index: number]: {
name: string;
type: string;
};
}
-
[index: number]: {
name: string;
type: string;
}
-
name: string
-
type: string
-
start: number
Private
frameSize
frameSize: {
[methodName: string]: number;
} = {}
Type declaration
-
[methodName: string]: number
generatedClearTeal
generatedClearTeal: string = ''
generatedTeal
generatedTeal: string = ''
Private
ifCount
ifCount: number = -1
Private
lastNode
lastNode: Node
Private
lastSourceCommentRange
lastSourceCommentRange: [number, number] = ...
Private
lastType
lastType: string = 'void'
lineToPc
lineToPc: {
[key: number]: number[];
} = {}
Private
mapKeyTypes
mapKeyTypes: {
box: string[];
global: string[];
local: string[];
} = ...
Type declaration
-
box: string[]
-
global: string[]
-
local: string[]
Private
nodeDepth
nodeDepth: number = 0
Private
orCount
orCount: number = 0
pcToLine
pcToLine: {
[key: number]: number;
} = {}
Private
processErrorNodes
processErrorNodes: Node[] = []
Private
rawSrcMap
rawSrcMap: {
pc: number;
prettyTeal?: number;
source: {
end: {
col: number;
line: number;
};
start: {
col: number;
line: number;
};
};
teal: number;
}[] = []
Private
sourceFile
sourceFile: SourceFile
srcMap
srcMap: {
pc: number;
source: {
end: {
col: number;
line: number;
};
start: {
col: number;
line: number;
};
};
teal: number;
}[] = []
Private
storageProps
storageProps: {
[key: string]: StorageProp;
} = {}
Type declaration
-
[key: string]: StorageProp
Private
subroutines
subroutines: Subroutine[] = []
Private
ternaryCount
ternaryCount: number = 0
Private
topLevelNode
topLevelNode: Node
Private
Optional
typeHint
typeHint?: string
Private
whileCount
whileCount: number = 0