API Diff between 0.7.32 and 0.18.42
169 Additions
197 Removals
CLanguage
-
public static class CLanguageService
- public const string DefaultCodePath = "main.cpp"
- public static object Eval(string expression, string includeCode = "")
- public static void Run(string code)
-
public class CodeWriter
-
public class MachineInfo
-
public class Report
- public class WarningMessage : AbstractMessage
- public IEnumerable<AbstractMessage> Errors { get; }
- public void Error(int code, Location loc, Location endLoc, string error)
- public void Error(int code, Location loc, Location endLoc, string format, object[] args)
- public void Error(int code, Location loc, string error)
- public void Error(int code, Location loc, string format, object[] args)
- public void ErrorCode(int code, Location loc, Location endLoc, object[] args)
- public void ErrorCode(int code, object[] args)
- public void Warning(int code, Location loc, Location endLoc, string warning)
-
public static class
-
public struct Value
CLanguage.Compiler
CLanguage.Interpreter
-
public abstract class BaseFunction
-
public class CInterpreter
- public int CallStackDepth { get; }
- public Executable Executable { get; }
- public ExecutionFrame CallerFrame { get; }
- public int YieldedValue { get; }
- public static void Run(string code)
- public string ReadString(int address)
- public string ReadStringWithEncoding(int address, Encoding encoding)
- public Value ReadThis()
- public Value ReadRelativeMemory(int frameOffset)
- public void Run()
- public Value RunFunction(Value functionAddress, int microseconds)
- public Value RunFunction(Value functionAddress, Value arg0, int microseconds)
- public Value RunFunction(Value functionAddress, Value arg0, Value arg1, int microseconds)
- public Value RunFunction(Value functionAddress, Value arg0, Value arg1, Value arg2, int microseconds)
- public void Yield(int yieldedValue)
-
public class CompiledFunction : BaseFunction
-
public class CompiledVariable
-
public class Compiler
-
public class EmitContext
- public CompiledFunction FunctionDecl { get; }
- public MachineInfo MachineInfo { get; }
- public Report Report { get; }
- public EmitContext(MachineInfo machineInfo, Report report, CompiledFunction fdecl = null)
- public virtual void BeginBlock(Block b)
- public virtual Label DefineLabel()
- public virtual void Emit(Instruction instruction)
- public void Emit(OpCode op, Value x)
- public void Emit(OpCode op, Label label)
- public void Emit(OpCode op)
- public void EmitCast(CType fromType, CType toType)
- public void EmitCastToBoolean(CType fromType)
- public virtual void EmitLabel(Label l)
- public virtual void EndBlock()
- public virtual Value GetConstantMemory(string stringConstant)
- public int GetInstructionOffset(CBasicType aType)
- public CType MakeCType(DeclarationSpecifiers specs, Declarator decl, Initializer init, Block block)
- public CType MakeCType(DeclarationSpecifiers specs, Block block)
- public virtual ResolvedVariable ResolveMethodFunction(CStructType structType, CStructMethod method)
- public virtual CType ResolveTypeName(TypeName typeName)
- public virtual ResolvedVariable ResolveVariable(string name, CType[] argTypes)
-
public class ExecutionFrame
-
public class InternalFunction : BaseFunction
-
public enum OpCode
-
public class ResolvedVariable
-
public enum VariableScope
CLanguage.Parser
CLanguage.Syntax
-
public class ArrayDeclarator : Declarator
-
public class Block : Statement
-
public class BreakStatement : Statement
-
public class ContinueStatement : Statement
-
public abstract class Declaration : Statement
-
public enum DeclarationsVisibility
-
public abstract class Declarator
-
public class Document
-
public class EnumeratorStatement : Statement
-
public abstract class Expression
- public virtual bool CanEmitPointer { get; }
- public Location EndLocation { get; protected set; }
- protected static CType GetArithmeticType(Expression leftExpr, Expression rightExpr, string op, EmitContext ec)
- protected static CType GetPromotedType(Expression expr, string op, EmitContext ec)
- protected abstract void DoEmit(EmitContext ec)
- protected virtual void DoEmitPointer(EmitContext ec)
- public void Emit(EmitContext ec)
- public void EmitPointer(EmitContext ec)
- public virtual Value EvalConstant(EmitContext ec)
- public abstract CType GetEvaluatedCType(EmitContext ec)
- protected static CBasicType GetArithmeticType(Expression leftExpr, Expression rightExpr, string op, EmitContext ec)
- protected static CBasicType GetPromotedType(Expression expr, string op, EmitContext ec)
- protected abstract void DoEmit(EmitContext ec)
- protected virtual void DoEmitPointer(EmitContext ec)
- public void Emit(EmitContext ec)
- public void EmitPointer(EmitContext ec)
- public abstract CType GetEvaluatedCType(EmitContext ec)
-
public class ForStatement : Statement
- public ForStatement(Statement initStatement, Expression continueExpr, Block body, Block parent, Location startLoc, Location endLoc)
- public ForStatement(Statement initStatement, Expression continueExpr, Expression nextExpr, Block body, Block parent, Location startLoc, Location endLoc)
-
public class FunctionDeclarator : Declarator
-
public class FunctionDefinition : Statement
-
public class InitDeclarator
-
public class Location
-
public class MemberFromPointerExpression : Expression
-
public class MultiDeclaratorStatement : Statement
-
public class ParameterDeclaration
-
public abstract class Statement
-
public struct Token : IEquatable<Token>
-
public class TranslationUnit : Block
-
public class VariableExpression : Expression
-
public class VisibilityStatement : Statement
CLanguage.Types