API Diff between 0.8.36 and 0.12.163
167 Additions
128 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 struct Value
CLanguage.Compiler
CLanguage.Interpreter
-
public abstract class BaseFunction
-
public class CInterpreter
-
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, Initializer init, 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 abstract class Declarator
-
public class Document
-
public class EnumeratorStatement : Statement
-
public abstract class Expression
- 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 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 MultiDeclaratorStatement : Statement
-
public class ParameterDeclaration
-
public abstract class Statement
-
public struct Token : IEquatable<Token>
-
public class TranslationUnit : Block
-
public class VariableExpression : Expression
CLanguage.Types