vocab question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alan G Isaac

    #1

    vocab question

    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
  • Bruno Desthuilliers

    #2
    Re: vocab question

    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

    Comment

    • Steven Bethard

      #3
      Re: vocab question

      Bruno Desthuilliers wrote:
      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

      Comment

      • Alan G Isaac

        #4
        Re: vocab question

        Steven Bethard wrote:
        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

        Comment

        • James Stroud

          #5
          Re: vocab question

          Alan G Isaac wrote:
          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?

          Comment

          • Bruno Desthuilliers

            #6
            Re: vocab question

            Steven Bethard a écrit :
            Bruno Desthuilliers wrote:
            >
            >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.
            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

            Comment

            • Steven Bethard

              #7
              Re: vocab question

              James Stroud wrote:
              Alan G Isaac wrote:
              >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

              Comment

              • Terry Reedy

                #8
                Re: vocab question


                "Alan G Isaac" <aisaac@america n.eduwrote in message
                news:sYWdnQwcu9 EhW4LbnZ2dnUVZ_ gOdnZ2d@rcn.net ...
                | 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



                Comment

                • Colin J. Williams

                  #9
                  Re: vocab question

                  James Stroud wrote:
                  Alan G Isaac wrote:
                  >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?

                  Comment

                  Working...