assign this.ast only in addPropResource