{
var found = "";
if (
- (stream.look() == "/" && stream.look(1) == "/" && (found=stream.next(2)))
+ (stream.look() == '/' && stream.look(1) == '/' && (found=stream.next(2)))
||
(stream.look() == "<" && stream.look(1) == "!" && stream.look(2) == "-" && stream.look(3) == "-" && (found=stream.next(4)))
) {
/**
@returns {Boolean} Was the token found?
*/
- public bool read_dbquote (TokenStream stream, TokenArray tokens)
+ public bool read_dbquote (TextStream stream, TokenArray tokens)
{
if (stream.look() != "\"") {
return false;
/**
@returns {Boolean} Was the token found?
*/
- public bool read_snquote (TokenStream stream, TokenArray tokens)
+ public bool read_snquote (TextStream stream, TokenArray tokens)
{
if (stream.look() != "'") {
return false;
/**
@returns {Boolean} Was the token found?
*/
- public bool read_numb (TokenStream stream, TokenArray tokens)
+ public bool read_numb (TextStream stream, TokenArray tokens)
{
if (stream.look() == "0" && stream.look(1) == "x") {
return this.read_hex(stream, tokens);
/**
@returns {Boolean} Was the token found?
*/
- public bool read_regx (TokenStream stream, TokenArray tokens)
+ public bool read_regx (TextStream stream, TokenArray tokens)
{
Token last;
if (stream.look() != "/") {