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

            this.accessLevel = accessLevel;
            this.name        = name;
        }
Exemple #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;
		}
Exemple #4
0
		public SourceUnit(CompilationUnit compilationUnit, String filename)
		{
			statements = new ASTNodeCollection(this);
			namespaces = new ASTNodeCollection(this);
			this.compilationUnit = compilationUnit;
			this.filename = filename;
		}
Exemple #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;
 }
Exemple #7
0
		public CompilationUnit()
		{
			sourceUnits = new ASTNodeCollection(this);
			DefiningSymbolTable = new SymbolTable(null, ScopeType.Global);
		}
Exemple #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;
		}
Exemple #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;
		}
Exemple #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);
 }
		public CompoundExpression()
		{
			statements = new ASTNodeCollection(this);
		}