Package-level declarations

Types

Link copied to clipboard

Primitive: Answer the target variable of the assignment.

Link copied to clipboard

Primitive: Answer the specified assignment's value expression.

Link copied to clipboard

Primitive: Answer the tuple of argument declarations for the specified block.

Link copied to clipboard

Primitive: Answer the specified block's set of declared exceptions.

Link copied to clipboard

Primitive: Answer the tuple of outer declarations needed by the specified block to complete its meaning.

Link copied to clipboard

Primitive: Answer the String which names the primitive referenced by this block phrase. Answer the empty string if no primitive was specified.

Link copied to clipboard

Primitive: Answer the specified block's return type.

Link copied to clipboard

Primitive: Answer the tuple of statements for the specified block.

Link copied to clipboard

Primitive: Create a new argument declaration from the specified token and type.

Link copied to clipboard

Primitive: Transform a variable reference and an expression into an inner assignment. Such a node also produces the assigned value as its result, so it can be embedded as a subexpression.

Link copied to clipboard

Primitive: Transform a variable reference and an expression into an assignment statement. Such a phrase has type top and cannot be embedded as a subexpression.

Link copied to clipboard

Primitive: Create a block expression from the specified argument declarations, primitive name, statements, result type, and exception set.

Link copied to clipboard

Primitive CreateExpressionAsStatementPhrase: Construct an expression-as-statement phrase for the given expression.

Link copied to clipboard

Primitive: Create a first-of-sequence phrase from the specified tuple of statements.

Link copied to clipboard

Primitive: Create an initializing local variable declaration from the specified token, type, and expression.

Link copied to clipboard

Primitive: Create a label declaration from the specified token and continuation type.

Link copied to clipboard

Primitive: Create a list from the specified tuple of expressions.

Link copied to clipboard

Primitive: Create a literal expression from the specified literal token.

Link copied to clipboard

Primitive: Create a literal token with the specified literal value, lexeme, starting character position, and line number.

Link copied to clipboard

Primitive: Construct a literal token type with the given parameterization.

Link copied to clipboard

Primitive: Answer a local constant declaration from the specified token and initializing expression.

Link copied to clipboard

Primitive: Create a marker phrase from the specified value and yield type (which don't have to agree).

Link copied to clipboard

Primitive: Create a new module variable declaration from the specified token and actual variable.

Link copied to clipboard

Primitive: Create a permuted list phrase from the given list and permutation tuple.

Link copied to clipboard

Primitive: Create a variation of a phrase type. In particular, create a phrase type of the same kind but with the specified expression type.

Link copied to clipboard

Primitive: Transform a variable use into a reference.

Link copied to clipboard

Primitive CreateRestrictedSendExpression: Create a send phrase from the specified message bundle, list phrase of argument expressions, and return type. In addition, run all semantic restrictions in separate fibers.

Link copied to clipboard

Primitive: Create a send expression from the specified message bundle, list phrase of argument expressions, and return type. Do not apply semantic restrictions.

Link copied to clipboard

Primitive CreateSequenceAsExpressionPhrase: Construct a sequence-as-expression phrase for the given sequence phrase.

Link copied to clipboard

Primitive: Create a sequence from the specified tuple of statements.

Link copied to clipboard

Primitive: Transform a base expression and a type into a supercast phrase that will use that type for lookup. Fail if the type is not a strict supertype of that which will be produced by the expression. Also fail if the expression is itself a supertype, or if it is top-valued or bottom-valued.

Link copied to clipboard

Primitive: Create a token with the specified TokenType, lexeme, starting character position, and line number.

Link copied to clipboard

Primitive: Construct a token type with the given parameterization.

Link copied to clipboard

Primitive: Create a local variable declaration from the specified token and type.

Link copied to clipboard

Primitive: Create a variable use from the specified token and declaration.

Link copied to clipboard

Primitive: If the specified declaration has an initializing expression, then answer true, otherwise answer false.

Link copied to clipboard

Primitive: If the specified declaration has an initializing expression, then return it, otherwise fail with E_DECLARATION_DOES_NOT_HAVE_INITIALIZER.

Link copied to clipboard

Primitive: Answer the token that names the entity introduced by the declaration.

Link copied to clipboard

Primitive: Answer the type of the specified declaration.

Link copied to clipboard

Primitive ExpressionAsStatementExpression: Answer the expression wrapped by an expression-as-statement phrase.

Link copied to clipboard

Primitive: Answer the specified first-of-sequence's tuple of statements. The first statement's result will be the result produced by this first-of-sequence.

Link copied to clipboard

Primitive: Answer the specified list's tuple of expressions.

Link copied to clipboard

Primitive: Answer the literal token from which the specified literal phrase was built.

Link copied to clipboard

Primitive: Extract the type of value that can be inside a literal token that satisfies this literal token type.

Link copied to clipboard

Primitive: Get the specified literal token's literal value.

Link copied to clipboard

Primitive LookupMacro: Given an atom and a tuple of phrases, look up the body function of the applicable macro. Do not execute it. The returned function should accept the given tuple of phrases.

Link copied to clipboard

Primitive: Extract the value from a marker phrase.

Link copied to clipboard

Primitive: Answer the list phrase permuted by the specified permuted list phrase.

Link copied to clipboard

Primitive: Answer the permutation tuple of the specified permuted list phrase.

Link copied to clipboard

Primitive: Extract the result type of a phrase.

Link copied to clipboard

Primitive: Answer the tokens that are part of this phrase. This generally does not include tokens that are considered tokens of subphrases of this phrase.

Link copied to clipboard

Primitive: Extract the result type of a phrase type.

Link copied to clipboard

Primitive: Answer the target variable of the specified reference.

Link copied to clipboard

Primitive: Answer the specified send expression's list of argument expressions.

Link copied to clipboard

Primitive: Answer the send expression's target bundle.

Link copied to clipboard

Primitive: Answer the send expression's target method.

Link copied to clipboard

Primitive: Answer the specified send phrase's expected return type.

Link copied to clipboard

Primitive P_SequenceAsExpressionSequence: Answer the sequence that is inside the given sequence-as-expression phrase.

Link copied to clipboard

Primitive: Answer the specified sequence's tuple of statements.

Link copied to clipboard

Primitive: Extract the base expression from a supercast phrase.

Link copied to clipboard

Primitive: Extract the lookup type from a supercast phrase. This is the type that the argument is to be treated as during method lookup.

Link copied to clipboard

Primitive: Get the specified token's classifier, which is an atom.

Link copied to clipboard

Primitive: Get the lexeme (string) associated with the specified token.

Link copied to clipboard

Primitive: Get the specified token's one-based line number within the source module that supplied it. A result of 0 means that the line number is unknown or meaningless.

Link copied to clipboard

Primitive: Get the specified token's one-based start position within the source module string. A result of 0 means that the line number is unknown or meaningless.

Link copied to clipboard

Primitive: Answer the declaration that created the entity referenced by this variable use.

Link copied to clipboard

Primitive: Answer the specified variable use's token.