API Diff between 0.18.46 and 0.4.18
677 Additions
92 Removals
CLanguage
-
public static class CLanguageService
-
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 readonly int[] Stack
- public readonly Value[] Stack
- public ExecutionFrame CallerFrame { get; }
- public int CallStackDepth { get; }
- public Executable Executable { get; }
- public int YieldedValue { get; }
- public void Call(int functionAddress)
- public static void Run(string code)
- public void Call(Value functionAddress)
- public void Push(int value)
- public void Push(Value value)
- public Value ReadArg(int index)
- public Value ReadMemory(int address)
- 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 Executable
-
public class ExecutionFrame
-
public class Instruction
-
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 CastExpression : Expression
-
public struct ColorSpan
-
public class ConstantExpression : Expression
-
public class ContinueStatement : Statement
-
public abstract class Declaration : Statement
-
public class DeclarationSpecifiers
-
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 int GetInstructionOffset(CBasicType aType, 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 Statement LoopBody { get; }
- public Block LoopBody { get; }
- public ForStatement(Statement initStatement, Expression continueExpr, Statement body)
- public ForStatement(Statement initStatement, Expression continueExpr, Expression nextExpr, Statement body)
- public ForStatement(Statement initStatement, Expression continueExpr, Statement body, Block parent, Location startLoc, Location endLoc)
- public ForStatement(Statement initStatement, Expression continueExpr, Expression nextExpr, Statement body, Block parent, Location startLoc, Location endLoc)
- public ForStatement(Statement initStatement, Expression continueExpr, Block body)
- public ForStatement(Statement initStatement, Expression continueExpr, Expression nextExpr, Block body)
-
public class FunctionDeclarator : Declarator
-
public class FunctionDefinition : Statement
-
public class IdentifierDeclarator : Declarator
-
public class InitDeclarator
-
public struct Location : IEquatable<Location>
-
public class MemberFromPointerExpression : Expression
-
public class MultiDeclaratorStatement : Statement
-
public class ParameterDeclaration
-
public class Pointer
-
public class SizeOfTypeExpression : Expression
-
public abstract class Statement
-
public enum SyntaxColor
-
public struct Token : IEquatable<Token>
-
public class TranslationUnit : Block
-
public class TypeName
-
public enum TypeQualifiers
-
public class VariableExpression : Expression
-
public class VisibilityStatement : Statement
-
public class WhileStatement : Statement
CLanguage.Types