beanshell / beanshell

Beanshell scripting language
Apache License 2.0
815 stars 183 forks source link

Give public access to SimpleNode #730

Open opeongo opened 1 year ago

opeongo commented 1 year ago

Public access to SimpleNode is required to walk the AST and extract information (e.g. pretty-printing). The SimpleNode class is currently package protected. Changing this to public access will allow applications to do interesting things.

public class SimpleNode implements Node, Serializable {
nickl- commented 1 year ago

Please give examples, not clear what purpose is.

opeongo commented 1 year ago

The purpose is to walk the AST and extract information, for example for pretty-printing.