runtime

package
v0.0.0-...-50b289e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallArgument

type CallArgument struct {
	Value               interface{}          `json:"value"`
	UnserializableValue *UnserializableValue `json:"unserializableValue"`
	ObjectId            *RemoteObjectId      `json:"objectId"`
}

type CallFrame

type CallFrame struct {
	FunctionName string    `json:"functionName"`
	ScriptId     *ScriptId `json:"scriptId"`
	Url          string    `json:"url"`
	LineNumber   int       `json:"lineNumber"`
	ColumnNumber int       `json:"columnNumber"`
}

type CommandAwaitPromise

type CommandAwaitPromise struct {
	PromiseObjectId *RemoteObjectId `json:"promiseObjectId"`
	ReturnByValue   bool            `json:"returnByValue"`
	GeneratePreview bool            `json:"generatePreview"`
}

type CommandCallFunctionOn

type CommandCallFunctionOn struct {
	FunctionDeclaration string              `json:"functionDeclaration"`
	ObjectId            *RemoteObjectId     `json:"objectId"`
	Arguments           []*CallArgument     `json:"arguments"`
	Silent              bool                `json:"silent"`
	ReturnByValue       bool                `json:"returnByValue"`
	GeneratePreview     bool                `json:"generatePreview"`
	UserGesture         bool                `json:"userGesture"`
	AwaitPromise        bool                `json:"awaitPromise"`
	ExecutionContextId  *ExecutionContextId `json:"executionContextId"`
	ObjectGroup         string              `json:"objectGroup"`
}

type CommandCompileScript

type CommandCompileScript struct {
	Expression         string              `json:"expression"`
	SourceURL          string              `json:"sourceURL"`
	PersistScript      bool                `json:"persistScript"`
	ExecutionContextId *ExecutionContextId `json:"executionContextId"`
}

type CommandDiscardConsoleEntries

type CommandDiscardConsoleEntries struct {
}

type CommandEvaluate

type CommandEvaluate struct {
	Expression            string              `json:"expression"`
	ObjectGroup           string              `json:"objectGroup"`
	IncludeCommandLineAPI bool                `json:"includeCommandLineAPI"`
	Silent                bool                `json:"silent"`
	ContextId             *ExecutionContextId `json:"contextId"`
	ReturnByValue         bool                `json:"returnByValue"`
	GeneratePreview       bool                `json:"generatePreview"`
	UserGesture           bool                `json:"userGesture"`
	AwaitPromise          bool                `json:"awaitPromise"`
}

type CommandGetProperties

type CommandGetProperties struct {
	ObjectId               *RemoteObjectId `json:"objectId"`
	OwnProperties          bool            `json:"ownProperties"`
	AccessorPropertiesOnly bool            `json:"accessorPropertiesOnly"`
	GeneratePreview        bool            `json:"generatePreview"`
}

type CommandGlobalLexicalScopeNames

type CommandGlobalLexicalScopeNames struct {
	ExecutionContextId *ExecutionContextId `json:"executionContextId"`
}

type CommandQueryObjects

type CommandQueryObjects struct {
	PrototypeObjectId *RemoteObjectId `json:"prototypeObjectId"`
}

type CommandReleaseObject

type CommandReleaseObject struct {
	ObjectId *RemoteObjectId `json:"objectId"`
}

type CommandReleaseObjectGroup

type CommandReleaseObjectGroup struct {
	ObjectGroup string `json:"objectGroup"`
}

type CommandRunIfWaitingForDebugger

type CommandRunIfWaitingForDebugger struct {
}

type CommandRunScript

type CommandRunScript struct {
	ScriptId              *ScriptId           `json:"scriptId"`
	ExecutionContextId    *ExecutionContextId `json:"executionContextId"`
	ObjectGroup           string              `json:"objectGroup"`
	Silent                bool                `json:"silent"`
	IncludeCommandLineAPI bool                `json:"includeCommandLineAPI"`
	ReturnByValue         bool                `json:"returnByValue"`
	GeneratePreview       bool                `json:"generatePreview"`
	AwaitPromise          bool                `json:"awaitPromise"`
}

type CommandRuntimeDisable

type CommandRuntimeDisable struct {
}

type CommandRuntimeEnable

type CommandRuntimeEnable struct {
}

type CommandSetCustomObjectFormatterEnabled

type CommandSetCustomObjectFormatterEnabled struct {
	Enabled bool `json:"enabled"`
}

type CustomPreview

type CustomPreview struct {
	Header                     string          `json:"header"`
	HasBody                    bool            `json:"hasBody"`
	FormatterObjectId          *RemoteObjectId `json:"formatterObjectId"`
	BindRemoteObjectFunctionId *RemoteObjectId `json:"bindRemoteObjectFunctionId"`
	ConfigObjectId             *RemoteObjectId `json:"configObjectId"`
}

type EntryPreview

type EntryPreview struct {
	Key   *ObjectPreview `json:"key"`
	Value *ObjectPreview `json:"value"`
}

type EventConsoleAPICalled

type EventConsoleAPICalled struct {
	Type               *EventConsoleAPICalledType `json:"type"`
	Args               []*RemoteObject            `json:"args"`
	ExecutionContextId *ExecutionContextId        `json:"executionContextId"`
	Timestamp          *Timestamp                 `json:"timestamp"`
	StackTrace         *StackTrace                `json:"stackTrace"`
	Context            string                     `json:"context"`
}

type EventConsoleAPICalledType

type EventConsoleAPICalledType string
const (
	EventConsoleAPICalledTypeLog                 EventConsoleAPICalledType = "log"
	EventConsoleAPICalledTypeDebug               EventConsoleAPICalledType = "debug"
	EventConsoleAPICalledTypeInfo                EventConsoleAPICalledType = "info"
	EventConsoleAPICalledTypeError               EventConsoleAPICalledType = "error"
	EventConsoleAPICalledTypeWarning             EventConsoleAPICalledType = "warning"
	EventConsoleAPICalledTypeDir                 EventConsoleAPICalledType = "dir"
	EventConsoleAPICalledTypeDirXml              EventConsoleAPICalledType = "dirxml"
	EventConsoleAPICalledTypeTable               EventConsoleAPICalledType = "table"
	EventConsoleAPICalledTypeTrace               EventConsoleAPICalledType = "trace"
	EventConsoleAPICalledTypeClear               EventConsoleAPICalledType = "clear"
	EventConsoleAPICalledTypeStartGroup          EventConsoleAPICalledType = "startGroup"
	EventConsoleAPICalledTypeStartGroupCollapsed EventConsoleAPICalledType = "startGroupCollapsed"
	EventConsoleAPICalledTypeEndGroup            EventConsoleAPICalledType = "endGroup"
	EventConsoleAPICalledTypeAssert              EventConsoleAPICalledType = "assert"
	EventConsoleAPICalledTypeProfile             EventConsoleAPICalledType = "profile"
	EventConsoleAPICalledTypeProfileEnd          EventConsoleAPICalledType = "profileEnd"
	EventConsoleAPICalledTypeCount               EventConsoleAPICalledType = "count"
	EventConsoleAPICalledTypeTimeEnd             EventConsoleAPICalledType = "timeEnd"
)

type EventExceptionRevoked

type EventExceptionRevoked struct {
	Reason      string `json:"reason"`
	ExceptionId int    `json:"exceptionId"`
}

type EventExceptionThrown

type EventExceptionThrown struct {
	Timestamp        *Timestamp        `json:"timestamp"`
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"`
}

type EventExecutionContextCreated

type EventExecutionContextCreated struct {
	Context *ExecutionContextDescription `json:"context"`
}

type EventExecutionContextDestroyed

type EventExecutionContextDestroyed struct {
	ExecutionContextId *ExecutionContextId `json:"executionContextId"`
}

type EventExecutionContextsCleared

type EventExecutionContextsCleared struct {
}

type EventInspectRequested

type EventInspectRequested struct {
	Object *RemoteObject `json:"object"`
	Hints  interface{}   `json:"hints"`
}

type ExceptionDetails

type ExceptionDetails struct {
	ExceptionId        int                 `json:"exceptionId"`
	Text               string              `json:"text"`
	LineNumber         int                 `json:"lineNumber"`
	ColumnNumber       int                 `json:"columnNumber"`
	ScriptId           *ScriptId           `json:"scriptId"`
	Url                string              `json:"url"`
	StackTrace         *StackTrace         `json:"stackTrace"`
	Exception          *RemoteObject       `json:"exception"`
	ExecutionContextId *ExecutionContextId `json:"executionContextId"`
}

type ExecutionContextDescription

type ExecutionContextDescription struct {
	Id      *ExecutionContextId `json:"id"`
	Origin  string              `json:"origin"`
	Name    string              `json:"name"`
	AuxData interface{}         `json:"auxData"`
}

type ExecutionContextId

type ExecutionContextId int

type InternalPropertyDescriptor

type InternalPropertyDescriptor struct {
	Name  string        `json:"name"`
	Value *RemoteObject `json:"value"`
}

type ObjectPreview

type ObjectPreview struct {
	Type        *ObjectPreviewType    `json:"type"`
	Subtype     *ObjectPreviewSubtype `json:"subtype"`
	Description string                `json:"description"`
	Overflow    bool                  `json:"overflow"`
	Properties  *PropertyPreview      `json:"properties"`
	Entries     *EntryPreview         `json:"entries"`
}

type ObjectPreviewSubtype

type ObjectPreviewSubtype string
const (
	ObjectPreviewSubtypeArray     ObjectPreviewSubtype = "array"
	ObjectPreviewSubtypeNull      ObjectPreviewSubtype = "null"
	ObjectPreviewSubtypeNode      ObjectPreviewSubtype = "node"
	ObjectPreviewSubtypeRegexp    ObjectPreviewSubtype = "regexp"
	ObjectPreviewSubtypeDate      ObjectPreviewSubtype = "date"
	ObjectPreviewSubtypeMap       ObjectPreviewSubtype = "map"
	ObjectPreviewSubtypeSet       ObjectPreviewSubtype = "set"
	ObjectPreviewSubtypeWeakmap   ObjectPreviewSubtype = "weakmap"
	ObjectPreviewSubtypeWeakset   ObjectPreviewSubtype = "weakset"
	ObjectPreviewSubtypeIterator  ObjectPreviewSubtype = "iterator"
	ObjectPreviewSubtypeGenerator ObjectPreviewSubtype = "generator"
	ObjectPreviewSubtypeError     ObjectPreviewSubtype = "error"
)

type ObjectPreviewType

type ObjectPreviewType string
const (
	ObjectPreviewTypeObject    ObjectPreviewType = "object"
	ObjectPreviewTypeFunction  ObjectPreviewType = "function"
	ObjectPreviewTypeUndefined ObjectPreviewType = "undefined"
	ObjectPreviewTypeString    ObjectPreviewType = "string"
	ObjectPreviewTypeNumber    ObjectPreviewType = "number"
	ObjectPreviewTypeBoolean   ObjectPreviewType = "boolean"
	ObjectPreviewTypeSymbol    ObjectPreviewType = "symbol"
)

type PropertyDescriptor

type PropertyDescriptor struct {
	Name         string        `json:"name"`
	Value        *RemoteObject `json:"value"`
	Writable     bool          `json:"writable"`
	Get          *RemoteObject `json:"get"`
	Set          *RemoteObject `json:"set"`
	Configurable bool          `json:"configurable"`
	Enumerable   bool          `json:"enumerable"`
	WasThrown    bool          `json:"wasThrown"`
	IsOwn        bool          `json:"isOwn"`
	Symbol       *RemoteObject `json:"symbol"`
}

type PropertyPreview

type PropertyPreview struct {
	Name         string                  `json:"name"`
	Type         *PropertyPreviewType    `json:"type"`
	Value        string                  `json:"value"`
	ValuePreview *ObjectPreview          `json:"valuePreview"`
	Subtype      *PropertyPreviewSubtype `json:"subtype"`
}

type PropertyPreviewSubtype

type PropertyPreviewSubtype string
const (
	PropertyPreviewSubtypeArray     PropertyPreviewSubtype = "array"
	PropertyPreviewSubtypeNull      PropertyPreviewSubtype = "null"
	PropertyPreviewSubtypeNode      PropertyPreviewSubtype = "node"
	PropertyPreviewSubtypeRegexp    PropertyPreviewSubtype = "regexp"
	PropertyPreviewSubtypeDate      PropertyPreviewSubtype = "date"
	PropertyPreviewSubtypeMap       PropertyPreviewSubtype = "map"
	PropertyPreviewSubtypeSet       PropertyPreviewSubtype = "set"
	PropertyPreviewSubtypeWeakmap   PropertyPreviewSubtype = "weakmap"
	PropertyPreviewSubtypeWeakset   PropertyPreviewSubtype = "weakset"
	PropertyPreviewSubtypeIterator  PropertyPreviewSubtype = "iterator"
	PropertyPreviewSubtypeGenerator PropertyPreviewSubtype = "generator"
	PropertyPreviewSubtypeError     PropertyPreviewSubtype = "error"
)

type PropertyPreviewType

type PropertyPreviewType string
const (
	PropertyPreviewTypeObject    PropertyPreviewType = "object"
	PropertyPreviewTypeFunction  PropertyPreviewType = "function"
	PropertyPreviewTypeUndefined PropertyPreviewType = "undefined"
	PropertyPreviewTypeString    PropertyPreviewType = "string"
	PropertyPreviewTypeNumber    PropertyPreviewType = "number"
	PropertyPreviewTypeBoolean   PropertyPreviewType = "boolean"
	PropertyPreviewTypeSymbol    PropertyPreviewType = "symbol"
	PropertyPreviewTypeAccessor  PropertyPreviewType = "accessor"
)

type RemoteObject

type RemoteObject struct {
	Type                *RemoteObjectType    `json:"type"`
	Subtype             *RemoteObjectSubtype `json:"subtype"`
	ClassName           string               `json:"className"`
	Value               interface{}          `json:"value"`
	UnserializableValue *UnserializableValue `json:"unserializableValue"`
	Description         string               `json:"description"`
	ObjectId            *RemoteObjectId      `json:"objectId"`
	Preview             *ObjectPreview       `json:"preview"`
	CustomPreview       *CustomPreview       `json:"customPreview"`
}

type RemoteObjectId

type RemoteObjectId string

type RemoteObjectSubtype

type RemoteObjectSubtype string
const (
	RemoteObjectSubtypeArray      RemoteObjectSubtype = "array"
	RemoteObjectSubtypeNull       RemoteObjectSubtype = "null"
	RemoteObjectSubtypeNode       RemoteObjectSubtype = "node"
	RemoteObjectSubtypeRegexp     RemoteObjectSubtype = "regexp"
	RemoteObjectSubtypeDate       RemoteObjectSubtype = "date"
	RemoteObjectSubtypeMap        RemoteObjectSubtype = "map"
	RemoteObjectSubtypeSet        RemoteObjectSubtype = "set"
	RemoteObjectSubtypeWeakmap    RemoteObjectSubtype = "weakmap"
	RemoteObjectSubtypeWeakset    RemoteObjectSubtype = "weakset"
	RemoteObjectSubtypeIterator   RemoteObjectSubtype = "iterator"
	RemoteObjectSubtypeGenerator  RemoteObjectSubtype = "generator"
	RemoteObjectSubtypeError      RemoteObjectSubtype = "error"
	RemoteObjectSubtypeProxy      RemoteObjectSubtype = "proxy"
	RemoteObjectSubtypePromise    RemoteObjectSubtype = "promise"
	RemoteObjectSubtypeTypedArray RemoteObjectSubtype = "typedarray"
)

type RemoteObjectType

type RemoteObjectType string
const (
	RemoteObjectTypeObject    RemoteObjectType = "object"
	RemoteObjectTypeFunction  RemoteObjectType = "function"
	RemoteObjectTypeUndefined RemoteObjectType = "undefined"
	RemoteObjectTypeString    RemoteObjectType = "string"
	RemoteObjectTypeNumber    RemoteObjectType = "number"
	RemoteObjectTypeBoolean   RemoteObjectType = "boolean"
	RemoteObjectTypeSymbol    RemoteObjectType = "symbol"
)

type ResponseAwaitPromise

type ResponseAwaitPromise struct {
	Result           *RemoteObject     `json:"result"`
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"`
}

type ResponseCallFunctionOn

type ResponseCallFunctionOn struct {
	Result           *RemoteObject     `json:"result"`
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"`
}

type ResponseCompileScript

type ResponseCompileScript struct {
	ScriptId         *ScriptId         `json:"scriptId"`
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"`
}

type ResponseEvaluate

type ResponseEvaluate struct {
	Result           *RemoteObject     `json:"result"`
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"`
}

type ResponseGetProperties

type ResponseGetProperties struct {
	Result             *PropertyDescriptor         `json:"result"`
	InternalProperties *InternalPropertyDescriptor `json:"internalProperties"`
	ExceptionDetails   *ExceptionDetails           `json:"exceptionDetails"`
}

type ResponseGlobalLexicalScopeNames

type ResponseGlobalLexicalScopeNames struct {
	Names []string `json:"names"`
}

type ResponseQueryObjects

type ResponseQueryObjects struct {
	Objects *RemoteObject `json:"objects"`
}

type ResponseRunScript

type ResponseRunScript struct {
	Result           *RemoteObject     `json:"result"`
	ExceptionDetails *ExceptionDetails `json:"exceptionDetails"`
}

type ScriptId

type ScriptId string

type StackTrace

type StackTrace struct {
	Description string        `json:"description"`
	CallFrames  []*CallFrame  `json:"callFrames"`
	Parent      *StackTrace   `json:"parent"`
	ParentId    *StackTraceId `json:"parentId"`
}

type StackTraceId

type StackTraceId struct {
	Id         string            `json:"id"`
	DebuggerId *UniqueDebuggerId `json:"debuggerId"`
}

type TargetCallFramesType

type TargetCallFramesType string
const (
	TargetCallFramesTypeAny     TargetCallFramesType = "any"
	TargetCallFramesTypeCurrent TargetCallFramesType = "current"
)

type Timestamp

type Timestamp int64

type UniqueDebuggerId

type UniqueDebuggerId string

type UnserializableValue

type UnserializableValue string
const (
	UnserializableValueInfinity         UnserializableValue = "Infinity"
	UnserializableValueNaN              UnserializableValue = "NaN"
	UnserializableValueNegativeInfinity UnserializableValue = "-Infinity"
	UnserializableValueNegativeZero     UnserializableValue = "-0"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL