API Diff between 0.18.43 and 0.8.36
357 Additions
62 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, string error)
- public void Error(int code, Location loc, string format, object[] args)
- 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 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
-
public class BlockContext : EmitContext
-
public class CCompiler
-
public class CompilerOptions
-
public abstract class EmitContext
- public CompiledFunction FunctionDecl { get; }
- public virtual LoopContext Loop { get; }
- public MachineInfo MachineInfo { get; }
- public EmitContext ParentContext { get; }
- public Report Report { get; }
- protected EmitContext(EmitContext parentContext)
- protected EmitContext(MachineInfo machineInfo, Report report, CompiledFunction fdecl, EmitContext parentContext)
- 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(CType cType)
- public CType MakeCType(DeclarationSpecifiers specs, Declarator decl, Initializer init, Block block)
- public CType MakeCType(DeclarationSpecifiers specs, Initializer init, Block block)
- public EmitContext PushLoop(Label breakLabel, Label continueLabel)
- public virtual ResolvedVariable ResolveMethodFunction(CStructType structType, CStructMethod method)
- public virtual CType ResolveTypeName(TypeName typeName)
- public virtual CType ResolveTypeName(string typeName)
- public ResolvedVariable ResolveVariable(VariableExpression variable, CType[] argTypes)
- public virtual ResolvedVariable TryResolveVariable(string name, CType[] argTypes)
-
public class EnumContext : EmitContext
-
public class ExecutableContext : EmitContext
-
public class LoopContext : EmitContext
-
public class ResolvedVariable
-
public class TranslationUnitContext : BlockContext
-
public enum VariableScope
CLanguage.Interpreter
-
public abstract class BaseFunction
-
public class CInterpreter
- public ExecutionFrame CallerFrame { get; }
- public int CallStackDepth { get; }
- public Executable Executable { get; }
- public int YieldedValue { get; }
- public static void Run(string code)
- public Value ReadRelativeMemory(int frameOffset)
- public string ReadString(int address)
- public string ReadStringWithEncoding(int address, Encoding encoding)
- public Value ReadThis()
- 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 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 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)
- 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)
-
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 struct Location : IEquatable<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