All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unlaxer.tinyexpression.parser.AsParser Maven / Gradle / Ivy

There is a newer version: 1.4.6
Show newest version
package org.unlaxer.tinyexpression.parser;

import java.util.List;

import org.unlaxer.RangedString;
import org.unlaxer.Token;
import org.unlaxer.TokenKind;
import org.unlaxer.parser.Parser;
import org.unlaxer.parser.elementary.WordParser;

public class AsParser extends WordParser{

  private static final long serialVersionUID = -583418216997099103L;
  
  List parsers;


  public AsParser() {
    super("as");
  }
  
  public static Token createToken(int position,TokenKind tokenKind) {
    return new Token(tokenKind, new RangedString(position, " as "), Parser.get(AsParser.class));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy