APIdia Launch Partner
Top Fields Constructors Methods
com.sun.org.apache.xalan.internal.xsltc.compiler

pack-priv Class XPathLexer

extends Object
implements Scanner
Class Inheritance
All Implemented Interfaces
com.sun.java_cup.internal.runtime.Scanner
Imports
com.sun.java_cup.internal.runtime.Symbol

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv int
private int[]
private boolean
private final int
private char[]
private int
private int
private int
private final int
private int
private static int[]
private final int
private final int
private final int
private final int
private boolean
private String[]
private final int
private boolean
private int
private final int
private final int
private final int
private static int[][]
private BufferedReader
private static int[]
private final int
private final int[]
public final int
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
private

Method Summary

Modifier and TypeMethod and Description
pack-priv Symbol
disambiguateAxisOrFunction(int ss)

If symbol is not followed by '::' or '(', then treat it as a name instead of an axis or function (Jira-1912).

pack-priv Symbol
disambiguateOperator(int ss)

If symbol is first token or if it follows any of the operators listed in http://www.w3.org/TR/xpath#exprlex then treat as a name instead of a keyword (Jira-1912).

pack-priv void
pack-priv static boolean
isWhitespace(int c)

pack-priv Symbol
newSymbol(int ss)

pack-priv Symbol
newSymbol(int ss, String value)

pack-priv Symbol
newSymbol(int ss, Long value)

pack-priv Symbol
newSymbol(int ss, Double value)

public Symbol
private static int[][]
unpackFromString(int size1, int size2, String st)

private int
private char[]
yy_double(char[] buf)

private void
yy_error(int code, boolean fatal)

private void
private void
private void
private void
private void
yybegin(int state)

private int
private String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

beforeLastback to summary
pack-priv int beforeLast
lastback to summary
pack-priv int last
yy_acptback to summary
private int[] yy_acpt
yy_at_bolback to summary
private boolean yy_at_bol
YY_BOLback to summary
private final int YY_BOL
yy_bufferback to summary
private char[] yy_buffer
yy_buffer_endback to summary
private int yy_buffer_end
yy_buffer_indexback to summary
private int yy_buffer_index
yy_buffer_readback to summary
private int yy_buffer_read
YY_BUFFER_SIZEback to summary
private final int YY_BUFFER_SIZE
yy_buffer_startback to summary
private int yy_buffer_start
yy_cmapback to summary
private static int[] yy_cmap
YY_E_INTERNALback to summary
private final int YY_E_INTERNAL
YY_E_MATCHback to summary
private final int YY_E_MATCH
YY_ENDback to summary
private final int YY_END
YY_EOFback to summary
private final int YY_EOF
yy_eof_doneback to summary
private boolean yy_eof_done
yy_error_stringback to summary
private String[] yy_error_string
YY_Fback to summary
private final int YY_F
yy_last_was_crback to summary
private boolean yy_last_was_cr
yy_lexical_stateback to summary
private int yy_lexical_state
YY_NO_ANCHORback to summary
private final int YY_NO_ANCHOR
YY_NO_STATEback to summary
private final int YY_NO_STATE
YY_NOT_ACCEPTback to summary
private final int YY_NOT_ACCEPT
yy_nxtback to summary
private static int[][] yy_nxt
yy_readerback to summary
private BufferedReader yy_reader
yy_rmapback to summary
private static int[] yy_rmap
YY_STARTback to summary
private final int YY_START
yy_state_dtransback to summary
private final int[] yy_state_dtrans
YYEOFback to summary
public final int YYEOF
YYINITIALback to summary
private final int YYINITIAL

Constructor Detail

XPathLexerback to summary
pack-priv XPathLexer(Reader reader)
XPathLexerback to summary
pack-priv XPathLexer(InputStream instream)
XPathLexerback to summary
private XPathLexer()

Method Detail

disambiguateAxisOrFunctionback to summary
pack-priv Symbol disambiguateAxisOrFunction(int ss) throws Exception

If symbol is not followed by '::' or '(', then treat it as a name instead of an axis or function (Jira-1912).

disambiguateOperatorback to summary
pack-priv Symbol disambiguateOperator(int ss) throws Exception

If symbol is first token or if it follows any of the operators listed in http://www.w3.org/TR/xpath#exprlex then treat as a name instead of a keyword (Jira-1912). Look two tokens behind to desambiguate expressions like "* and *" or "and * and".

Annotations
@SuppressWarnings:fallthrough
initializeback to summary
pack-priv void initialize()
isWhitespaceback to summary
pack-priv static boolean isWhitespace(int c)
newSymbolback to summary
pack-priv Symbol newSymbol(int ss)
newSymbolback to summary
pack-priv Symbol newSymbol(int ss, String value)
newSymbolback to summary
pack-priv Symbol newSymbol(int ss, Long value)
newSymbolback to summary
pack-priv Symbol newSymbol(int ss, Double value)
next_tokenback to summary
public Symbol next_token() throws IOException, Exception

Implements com.sun.java_cup.internal.runtime.Scanner.next_token.

Annotations
@SuppressWarnings:fallthrough
unpackFromStringback to summary
private static int[][] unpackFromString(int size1, int size2, String st)
yy_advanceback to summary
private int yy_advance() throws IOException
yy_doubleback to summary
private char[] yy_double(char[] buf)
yy_errorback to summary
private void yy_error(int code, boolean fatal)
yy_mark_endback to summary
private void yy_mark_end()
yy_mark_startback to summary
private void yy_mark_start()
yy_move_endback to summary
private void yy_move_end()
yy_to_markback to summary
private void yy_to_mark()
yybeginback to summary
private void yybegin(int state)
yylengthback to summary
private int yylength()
yytextback to summary
private String yytext()