octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47680] classdef @ operator to overrided super


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #47680] classdef @ operator to overrided superclass methods
Date: Thu, 7 Feb 2019 15:11:00 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #13, bug #47680 (project octave):

OK, maybe there is a better way to handle the parsing than what we are doing
now that would simplify it a bit.

In superclass references and metaclass query expressions, are spaces allowed
between the elements?  Can package names be used ot qualify the class names? 
For example, are any of the following allowed (note spaces)?


obj . method @ superclass
pkg1 . pkg2 . class_name . method @ superclass
? class_name
? pkg1 . pkg2 . class_name


If spaces are allowed, then I think we already get some of these wrong.  And
we try to recognize hings like address@hidden as a single identifier in the
lexer instead of just returning a series of tokends (ID, '@', ID) and
recognizing the syntax in the parser.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?47680>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]