Coder Social home page Coder Social logo

orafile's People

Contributors

chris-martin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

orafile's Issues

Add render option: sort by key

From #3:

To create reproduceable testcases we had to sort the nodes (no problem if you stick to List<> when manipulating the datastructure).

Feature: Ability to write .ora files

Currently we can parse but not format into the .ora file format.

The formatting is actually the easier direction, but I just haven't done it because I have no need for that functionality right now.

Renderer's quotation strategy should be configurable

The renderer should be configurable among these options:

  • Quote everything with double quotes
  • Quote everything with single quotes
  • Don't quote anything
  • Choose whether to quote based on the string content (this should be the default)

See issue #9.

Delete node

There is a method to add new nodes to the tree. It would be good, to also have the functionality to delete nodes (matching some criteria, like node.getName().equals(criteria)).
The node should be removed from both list and map.

Rendering backslashes is incorrect

If you add the following line (note: it should be two backslashes, I just had to enter 4 to make it look like that)
ADR_BASE_LISTENER = "C:\Oracle"
to render-test.ora, the testcase testRender() will fail, because the backslashes are doubled (you get 4 when rendering).

change visibility of methods to ease subclassing

can you extend the visibility of the following constructors & methods:
- OrafileRenderer(boolean sortByKey)
so one can write
return new OrafileRenderer(sortByKey).renderFile(this.tns);
instead of
return new OrafileRenderer().sortByKey(sortByKey).renderFile(this.tns);

- List OrafileRenderer.defs(OrafileDict dict)
just in case some other sort order is requested

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.