public void AddDeclarator(IdentifierExpression identifier, ExpressionNode initializer) { declarators.Add(new Declarator(identifier, initializer)); }
public LocalDeclarationStatement(IType type, IdentifierExpression identifier, ExpressionNode rightSide) : base(identifier.RelatedToken) { decl = new LocalDeclaration(type, identifier, rightSide); }
public LocalDeclaration(IType type, IdentifierExpression identifier, ExpressionNode rightSide) : base(identifier.RelatedToken) { this.type = type; AddDeclarator(identifier, rightSide); }
public Declarator(IdentifierExpression identifier, ExpressionNode initializer) { Identifier = identifier; Initializer = initializer; }