Skip to content

Declare methods protected instread of private #111

Open
@NicolasAnquetil

Description

@NicolasAnquetil

In FrontEnd, and FortranStream, many methods are declared private.
This prevents anybody from inheriting from these class and extending their behaviour.

For example, I wanted to have a FrontEnd that could parse from a String (for example using ByteArrayInputStream or something similar). One solution would be to inherit from these classes and change some of their methods. Because they are private, this is not possible and the only solution is to copy/change a lot of code :-(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions