cz.cuni.pogamut.posh.nblexer
Class PoshTokenId
java.lang.Object
cz.cuni.pogamut.posh.nblexer.PoshTokenId
- All Implemented Interfaces:
- org.netbeans.api.lexer.TokenId
public class PoshTokenId
- extends Object
- implements org.netbeans.api.lexer.TokenId
Class representing token, contains
- name - unique name of the token in the parser
- id - unique integer id of the token
- primaryCategory - category of the token
- Author:
- Honza
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PoshTokenId
public PoshTokenId(String name,
String primaryCategory,
int id)
name
public String name()
- Specified by:
name in interface org.netbeans.api.lexer.TokenId
ordinal
public int ordinal()
- Specified by:
ordinal in interface org.netbeans.api.lexer.TokenId
primaryCategory
public String primaryCategory()
- Specified by:
primaryCategory in interface org.netbeans.api.lexer.TokenId
getLanguage
public static org.netbeans.api.lexer.Language<PoshTokenId> getLanguage()
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.