vocab question

A

Alan G Isaac

Pardon the vocab question;
I'm not a computer science type.
According to the Reference Manual,
a class defintion has the structure::

classdef ::= "class" classname [inheritance] ":" suite

What is the entire part before the suite called?
(Just pointing to a reference is fine & helpful,
as long as its not an entire course on BNF.)

Thanks,
Alan Isaac
 
S

Steven Bethard

Bruno said:
Alan G Isaac a écrit :
Pardon the vocab question;
I'm not a computer science type.
According to the Reference Manual,
a class defintion has the structure::

classdef ::= "class" classname [inheritance] ":" suite

What is the entire part before the suite called?

A statement. In this case, a 'class' statement.

Actually, the class statement includes the suite as well. As far as I
know, there's no official term for the first four elements of a class
statement. I'd probably call it the class statement header.

STeVe
 
J

James Stroud

Alan said:
Pardon the vocab question;
I'm not a computer science type.
According to the Reference Manual,
a class defintion has the structure::

classdef ::= "class" classname [inheritance] ":" suite

What is the entire part before the suite called?
(Just pointing to a reference is fine & helpful,
as long as its not an entire course on BNF.)

Thanks,
Alan Isaac

Signature?
 
B

Bruno Desthuilliers

Alan G Isaac a écrit :
Pardon the vocab question;
I'm not a computer science type.
According to the Reference Manual,
a class defintion has the structure::

classdef ::= "class" classname [inheritance] ":" suite

What is the entire part before the suite called?

A statement. In this case, a 'class' statement.

HTH
 
S

Steven Bethard

James said:
Alan said:
According to the Reference Manual,
a class defintion has the structure::

classdef ::= "class" classname [inheritance] ":" suite

What is the entire part before the suite called?
(Just pointing to a reference is fine & helpful,
as long as its not an entire course on BNF.)

Signature?

That's the best suggestion I've heard so far...

STeVe
 
A

Alan G Isaac

Steven said:
As far as I
know, there's no official term for the first four elements of a class
statement. I'd probably call it the class statement header.

That will have to do for now.
Thanks!
Alan Isaac
 
B

Bruno Desthuilliers

Steven Bethard a écrit :
Bruno said:
Alan G Isaac a écrit :
Pardon the vocab question;
I'm not a computer science type.
According to the Reference Manual,
a class defintion has the structure::

classdef ::= "class" classname [inheritance] ":" suite

What is the entire part before the suite called?


A statement. In this case, a 'class' statement.


Actually, the class statement includes the suite as well.

Well, technically, yes, but from a practical POV I'd say the "suite" is
the class's body. Hmmm... Well, ok, you're right. Me go to bed.
 
T

Terry Reedy

| Pardon the vocab question;
| I'm not a computer science type.
| According to the Reference Manual,
| a class defintion has the structure::
|
| classdef ::= "class" classname [inheritance] ":" suite
|
| What is the entire part before the suite called?
| (Just pointing to a reference is fine & helpful,
| as long as its not an entire course on BNF.)

I call it the header for the compound statement.
Same with def f(pars):

tjr
 
D

Dennis Lee Bieber

Pardon the vocab question;
I'm not a computer science type.
According to the Reference Manual,
a class defintion has the structure::

classdef ::= "class" classname [inheritance] ":" suite

What is the entire part before the suite called?
(Just pointing to a reference is fine & helpful,
as long as its not an entire course on BNF.)

Off hand... Nothing... After all, if one gave it a name like
classsig(nature), say, then the BNF could have been given as:

classdef ::= classsig suite
classsig ::= "class" classname [inheritance] ":"

Though I'd be more likely to NOT include the :

classdef ::= classsig ":" suite
classsig ::= "class" classname [inheritance]

--
Wulfraed Dennis Lee Bieber KD6MOG
(e-mail address removed) (e-mail address removed)
HTTP://wlfraed.home.netcom.com/
(Bestiaria Support Staff: (e-mail address removed))
HTTP://www.bestiaria.com/
 
C

Colin J. Williams

James said:
Alan said:
Pardon the vocab question;
I'm not a computer science type.
According to the Reference Manual,
a class defintion has the structure::

classdef ::= "class" classname [inheritance] ":" suite

What is the entire part before the suite called?
(Just pointing to a reference is fine & helpful,
as long as its not an entire course on BNF.)

Thanks,
Alan Isaac
+1

Signature?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top