1 using TypeSystem.Operations;
6 using System.Collections.Generic;
7 using CodeGeneration.ExceptionManagement;
8 namespace CodeGeneration.Operations {
12 internal class CGClassDefinitionStartOperation<T> :
TypeSystemOperation where T : ILCodeGenerator {
17 private T codeGenerator;
31 public CGClassDefinitionStartOperation(T codeGenerator,
int indent,
ClassDefinition node) {
32 this.codeGenerator = codeGenerator;
41 public override object Exec(
ClassType ct,
object arg) {
44 this.codeGenerator.WriteLNClassHeader(this.indent, node.Identifier, ct);
45 this.codeGenerator.WriteStartBlock(this.indent);
This class represent the entry wnen sending a message to an operation object derived from TypeExpress...
Abstract class that represents all different types.
Represents a error produced when user type is expected but do not found.
Encapsulates a definition of a concrete class.