<?xml version="1.0"?>
<clause number="20.2.2" title="Interface properties">
  <paragraph>Interface properties are declared using interface-property-declarations: <grammar_production><name><non_terminal where="20.2.2">interface-property-declaration</non_terminal></name> : <rhs><non_terminal where="24.2">attributes</non_terminal><opt/><keyword>new</keyword><opt/><non_terminal where="11">type</non_terminal><non_terminal where="9.4.2">identifier</non_terminal><terminal>{</terminal><non_terminal where="20.2.2">interface-accessors</non_terminal><terminal>}</terminal></rhs></grammar_production><grammar_production><name><non_terminal where="20.2.2">interface-accessors</non_terminal></name> : <rhs><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>get</terminal><terminal>;</terminal></rhs><rhs><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>set</terminal><terminal>;</terminal></rhs><rhs><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>get</terminal><terminal>;</terminal><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>set</terminal><terminal>;</terminal></rhs><rhs><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>set</terminal><terminal>;</terminal><non_terminal where="24.2">attributes</non_terminal><opt/><terminal>get</terminal><terminal>;</terminal></rhs></grammar_production></paragraph>
  <paragraph>The attributes, type, and identifier of an interface property declaration have the same meaning as those of a property declaration in a class (<hyperlink>17.6</hyperlink>). </paragraph>
  <paragraph>The accessors of an interface property declaration correspond to the accessors of a class property declaration (<hyperlink>17.6.2</hyperlink>), except that the accessor body must always be a semicolon. Thus, the accessors simply indicate whether the property is read-write, read-only, or write-only. </paragraph>
</clause>
