Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Function ¶
type Function interface {
ProtoBuff
IGetName() string
IGetDescription() string
IGetFilename() string
IGetLineNumber() int32
IGetNamespace() string
IGetScopeTypeId() int32
IGetScopeType() string
IGetReturnTypeId() int32
IGetReturnType() string
IGetOpensTypeId() int32
IGetOpensType() string
IGetBuiltIn() bool
IGetNthArg(index int) Function_Argument
ISetNthArg(index int, value Function_Argument)
INumArgs() int
IGetInstruction() Instruction
Stub(pkg Package) string
FullSignature(pkg Package) string
BaseSignature(pkg Package) string
Clone() Function
NameString() string
ReturnTypeString(pkg Package) string
ScopeTypeString(pkg Package) string
OpensTypeString(pkg Package) string
DebugInfo(pkg Package) string
RelocateCallsBy(offset int)
RelocateTypes(relocations map[int]int)
}
type Function_Argument ¶
type Function_Array ¶
type Instruction ¶
type Instruction interface {
ProtoBuff
IGetType() int32
IGetValue() string
IGetObjectId() int32
IGetNthChild(index int) Instruction
ISetNthChild(index int, value Instruction)
INumChildren() int
IGetNthArgument(index int) Instruction
ISetNthArgument(index int, value Instruction)
INumArgs() int
IGetFunctionId() int32
IGetLineNumber() int32
IGetYieldTypeId() int32
IGetIsValid() bool
IGetNamespace() string
IGetTypeQualifier() string
IGetIsUserCalled() bool
// Iterate(f func(Instruction))
// IterateAll(f func(Instruction))
GetFunction(pkg Package) Function
Namespaces() []string
}
type Package ¶
type Package interface {
ProtoBuff
IGetName() string
IGetNthFunction(index int) Function
ISetNthFunction(index int, value Function)
IGetFunctions() []Function
IGetNthType(index int) Type
ISetNthType(index int, value Type)
IGetTypes() []Type
IGetDependencies() []string
IGetPath() string
GetTypeId(string) int
GetTypeName(int32) string
GetProtoTypeId(*string) *int32
FindDescendantType(int32) int
AncestorOf(int32, int32) bool
}
type RewriteRule ¶
type ScriptObject ¶
type Slug ¶
type Slug interface {
ProtoBuff
IGetName() string
IGetVersion() string
IGetNthTransformer(index int) Transform
ISetNthTransformer(index int, value Transform)
IGetJavaScript() string
ISetJavaScript(string)
IGetConfig() string
ISetConfig(string)
IGetNthRrule(index int) RewriteRule
ISetNthRrule(index int, value RewriteRule)
IGetRrules() []RewriteRule
IGetSslWhitelist() []string
IGetCredentials() Credentials
IGetActiveLayers() []string
WriteFile(string) error
FindInstruction(string, int) int
}
type Transform ¶
type Transform interface {
ProtoBuff
// GetObjects() []*ScriptObject
IGetNthObject(n int) ScriptObject
ISetNthObject(n int, s ScriptObject)
IGetPkg() Package
IGetLayers() string
}
Click to show internal directories.
Click to hide internal directories.