Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930
  1. const Input = require('postcss/lib/input');
  2. const LessParser = require('./LessParser');
  3. const LessStringifier = require('./LessStringifier');
  4. module.exports = {
  5. parse(less, options) {
  6. const input = new Input(less, options);
  7. const parser = new LessParser(input);
  8. parser.parse();
  9. return parser.root;
  10. },
  11. stringify(node, builder) {
  12. const stringifier = new LessStringifier(builder);
  13. stringifier.stringify(node);
  14. },
  15. nodeToString(node) {
  16. let result = '';
  17. module.exports.stringify(node, (bit) => {
  18. result += bit;
  19. });
  20. return result;
  21. }
  22. };