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

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