blob: 44fac12976861466e22878995eb81536e295e852 (
plain)
1
2
3
4
|
<?xml version="1.0"?>
<clause number="17.1.2" title="Class base specification">
<paragraph>A class declaration may include a <non_terminal where="17.1.2">class-base</non_terminal> specification, which defines the direct base class of the class and the interfaces (<hyperlink>20</hyperlink>) implemented by the class. <grammar_production><name><non_terminal where="17.1.2">class-base</non_terminal></name> : <rhs><terminal>:</terminal><non_terminal where="11.2">class-type</non_terminal></rhs><rhs><terminal>:</terminal><non_terminal where="17.1.2">interface-type-list</non_terminal></rhs><rhs><terminal>:</terminal><non_terminal where="11.2">class-type</non_terminal><terminal>,</terminal><non_terminal where="17.1.2">interface-type-list</non_terminal></rhs></grammar_production><grammar_production><name><non_terminal where="17.1.2">interface-type-list</non_terminal></name> : <rhs><non_terminal where="11.2">interface-type</non_terminal></rhs><rhs><non_terminal where="17.1.2">interface-type-list</non_terminal><terminal>,</terminal><non_terminal where="11.2">interface-type</non_terminal></rhs></grammar_production></paragraph>
</clause>
|