Beispiel #1
0
        public TypeDefinitionStatement(AccessLevel accessLevel, String name) : base(StatementType.TypeDefinition)
        {
            statements = new ASTNodeCollection(this);

            this.accessLevel = accessLevel;
            this.name        = name;
        }
Beispiel #2
0
 public SourceUnit(CompilationUnit compilationUnit, String filename)
 {
     statements           = new ASTNodeCollection(this);
     namespaces           = new ASTNodeCollection(this);
     this.compilationUnit = compilationUnit;
     this.filename        = filename;
 }
		public TypeDefinitionStatement(AccessLevel accessLevel, String name) : base(StatementType.TypeDefinition)
		{
			statements = new ASTNodeCollection(this);

			this.accessLevel = accessLevel;
			this.name = name;
		}
Beispiel #4
0
		public SourceUnit(CompilationUnit compilationUnit, String filename)
		{
			statements = new ASTNodeCollection(this);
			namespaces = new ASTNodeCollection(this);
			this.compilationUnit = compilationUnit;
			this.filename = filename;
		}
Beispiel #5
0
 public CompilationUnit()
 {
     sourceUnits         = new ASTNodeCollection(this);
     DefiningSymbolTable = new SymbolTable(null, ScopeType.Global);
 }
 public MethodInvocationExpression(IExpression designator)
 {
     this.arguments  = new ASTNodeCollection(this);
     this.designator = designator;
 }
Beispiel #7
0
		public CompilationUnit()
		{
			sourceUnits = new ASTNodeCollection(this);
			DefiningSymbolTable = new SymbolTable(null, ScopeType.Global);
		}
Beispiel #8
0
 public MethodDefinitionStatement(AccessLevel accessLevel) : base(StatementType.MethodDef)
 {
     statements       = new ASTNodeCollection(this);
     arguments        = new ASTNodeCollection(this);
     this.accessLevel = accessLevel;
 }
		public MethodDefinitionStatement(AccessLevel accessLevel) : base(StatementType.MethodDef)
		{
			statements = new ASTNodeCollection(this);
			arguments = new ASTNodeCollection(this);
			this.accessLevel = accessLevel;
		}
Beispiel #10
0
		public NamespaceDescriptor()
		{
			typeDefinitions = new ASTNodeCollection(this);
		}
 public NamespaceDescriptor()
 {
     typeDefinitions = new ASTNodeCollection(this);
 }
		public MethodInvocationExpression(IExpression designator)
		{
			this.arguments = new ASTNodeCollection(this);
			this.designator = designator;
		}
Beispiel #13
0
		public BlockExpression()
		{
			statements = new ASTNodeCollection(this);
			parameters = new ASTNodeCollection(this);
		}
 public CompoundExpression()
 {
     statements = new ASTNodeCollection(this);
 }
 public BlockExpression()
 {
     statements = new ASTNodeCollection(this);
     parameters = new ASTNodeCollection(this);
 }
Beispiel #16
0
		public CompoundExpression()
		{
			statements = new ASTNodeCollection(this);
		}