|
using System;
using System.Collections.Generic;
using System.Text;
using Conscript.Compiler;
namespace Conscript.Runtime
{
/// <summary>
/// Instruction operand type.
/// </summary>
public enum OperandType
{
/// <summary>
/// Literal value.
/// </summary>
Literal,
/// <summary>
/// Simple variable identifier.
/// </summary>
Variable,
/// <summary>
/// Variable indexed indirectly via another variable indentifier.
/// </summary>
VariableIndexedVariable,
/// <summary>
/// Variable indexed directly via a literal value.
/// </summary>
LiteralIndexedVariable,
/// <summary>
/// Reference to a <see cref="ScriptInstruction"/>.
/// </summary>
InstructionRef,
/// <summary>
/// Reference to a <see cref="ScriptFunction"/>.
/// </summary>
ScriptFunctionRef,
/// <summary>
/// Reference to a <see cref="HostFunctionPrototype"/>.
/// </summary>
HostFunctionRef
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.