API Diff between 0.13.18 and 0.7.32
368 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 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
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 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 MultiDeclaratorStatement : Statement
-
public class ParameterDeclaration
-
public abstract class Statement
-
public struct Token : IEquatable<Token>
-
public class TranslationUnit : Block
-
public class VariableExpression : Expression
CLanguage.Types