Mercurial Hosting > luan
diff src/luan/modules/parsers/Css.java @ 1333:25746915a241
merge Luan and LuanState
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 Feb 2019 22:33:40 -0700 |
parents | f41919741100 |
children | 27efb1fcbcb5 |
line wrap: on
line diff
--- a/src/luan/modules/parsers/Css.java Tue Feb 12 21:50:26 2019 -0700 +++ b/src/luan/modules/parsers/Css.java Tue Feb 12 22:33:40 2019 -0700 @@ -1,6 +1,6 @@ package luan.modules.parsers; -import luan.LuanState; +import luan.Luan; import luan.LuanTable; import luan.LuanException; import luan.lib.parser.Parser; @@ -8,7 +8,7 @@ public final class Css { - public static LuanTable style(LuanState luan,String text) { + public static LuanTable style(Luan luan,String text) { try { return new Css(luan,text).parseStyle(); } catch(LuanException e) { @@ -16,10 +16,10 @@ } } - private final LuanState luan; + private final Luan luan; private final Parser parser; - private Css(LuanState luan,String text) { + private Css(Luan luan,String text) { this.luan = luan; this.parser = new Parser(text); }