diff src/luan/modules/parsers/Html.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/Html.java	Tue Feb 12 21:50:26 2019 -0700
+++ b/src/luan/modules/parsers/Html.java	Tue Feb 12 22:33:40 2019 -0700
@@ -4,7 +4,7 @@
 import java.util.ArrayList;
 import java.util.Set;
 import java.util.HashSet;
-import luan.LuanState;
+import luan.Luan;
 import luan.LuanTable;
 import luan.LuanException;
 import luan.lib.parser.Parser;
@@ -12,7 +12,7 @@
 
 public final class Html {
 
-	public static LuanTable toList(LuanState luan,String text,LuanTable containerTagsTbl) {
+	public static LuanTable toList(Luan luan,String text,LuanTable containerTagsTbl) {
 		try {
 			return new Html(luan,text,containerTagsTbl).parse();
 		} catch(LuanException e) {
@@ -20,11 +20,11 @@
 		}
 	}
 
-	private final LuanState luan;
+	private final Luan luan;
 	private final Parser parser;
 	private final Set<String> containerTags = new HashSet<String>();
 
-	private Html(LuanState luan,String text,LuanTable containerTagsTbl) {
+	private Html(Luan luan,String text,LuanTable containerTagsTbl) {
 		this.luan = luan;
 		this.parser = new Parser(text);
 		for( Object v : containerTagsTbl.asList() ) {