Skip to main content
Module

x/apex_core/model.ts>Context

JavaScript / Node.js support for the Apex language
Latest
class Context
Re-export
import { Context } from "https://deno.land/x/apex_core@v0.1.5/model.ts";

Constructors

new
Context(
config: ObjectMap,
document?: Document,
other?: Context,
)

Properties

private
errors: ErrorHolder
private
typeMap: { [name: string]: ; }
alias: Alias
annotation: Annotation
annotations: Annotation[]
config: ObjectMap
directive: Directive
optional
document: Document
enum: Enum
enumValue: EnumValue
enumValues: EnumValue[]
field: Field
fieldIndex: number
fields: Field[]
interface: Interface
namespace: Namespace
namespacePos: number
namespaces: Namespace[]
operation: Operation
operations: Operation[]
parameter: Parameter
parameterIndex: number
parameters: Parameter[]
type: MObject
union: Union

Methods

private
parseDocument()
accept(context: Context, visitor: Visitor): void
clone(unnamed 0: NamedParameters): Context
lazyLoadType(name: string): AnyType | undefined
reportError(error: ApexError): void