Searched refs:yybegin (Results 1 - 25 of 28) sorted by relevance

12

/opengrok/src/org/opensolaris/opengrok/analysis/uue/
H A DUuencodeFullTokenizer.lex69 yybegin(BEGIN);
86 yybegin(MODE);
88 yybegin(YYINITIAL);
92 yybegin(YYINITIAL);
99 yybegin(MODE);
101 yybegin(YYINITIAL);
106 [^] { yybegin(YYINITIAL); yypushback(1); }
110 " " { if (modeFound) yybegin(NAME); }
116 [^] { yybegin(YYINITIAL); yypushback(1); }
122 yybegin(UU
[all...]
H A DUuencodeXref.lex61 yybegin(MODE);
85 yybegin(NAME);
89 [^] { yybegin(YYINITIAL); yypushback(1); }
95 yybegin(UUE);
104 [^] { yybegin(YYINITIAL); yypushback(1); }
109 yybegin(YYINITIAL);
/opengrok/src/org/opensolaris/opengrok/analysis/haskell/
H A DHaskellXref.lex68 \" { yybegin(STRING); out.write("<span class=\"s\">\""); }
69 \' { yybegin(CHAR); out.write("<span class=\"s\">\'"); }
70 "--" { yybegin(COMMENT); out.write("<span class=\"c\">--"); }
71 "{-" { yybegin(BCOMMENT); out.write("<span class=\"c\">{-"); }
75 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
78 {WhiteSpace}*{EOL} { yybegin(YYINITIAL); out.write("</span>"); startNewLine(); }
82 ( .\' | \\.\' ) { yybegin(YYINITIAL); out.write(yytext()); out.write("</span>"); }
83 {WhiteSpace}*{EOL} { yybegin(YYINITIAL); out.write("</span>"); startNewLine(); }
87 {WhiteSpace}*{EOL} { yybegin(YYINITIAL); out.write("</span>"); startNewLine(); }
91 "-}" { yybegin(YYINITIA
[all...]
H A DHaskellSymbolTokenizer.lex63 \" { yybegin(STRING); }
64 \' { yybegin(CHAR); }
65 "--" { yybegin(COMMENT); }
66 "{-" { yybegin(BCOMMENT); }
70 \" { yybegin(YYINITIAL); }
75 \' { yybegin(YYINITIAL); }
80 \n { yybegin(YYINITIAL); }
84 "-}" { yybegin(YYINITIAL); }
/opengrok/src/org/opensolaris/opengrok/analysis/golang/
H A DGolangSymbolTokenizer.lex63 \" { yybegin(STRING); }
64 \' { yybegin(QSTRING); }
65 "/*" { yybegin(COMMENT); }
66 "//" { yybegin(SCOMMENT); }
70 \" { yybegin(YYINITIAL); }
75 \' { yybegin(YYINITIAL); }
79 "*/" { yybegin(YYINITIAL); }
83 \n { yybegin(YYINITIAL); }
H A DGolangXref.lex69 \" { yybegin(STRING); out.write("<span class=\"s\">\""); }
70 \' { yybegin(QSTRING); out.write("<span class=\"s\">\'"); }
71 "/*" { yybegin(COMMENT); out.write("<span class=\"c\">/*"); }
72 "//" { yybegin(SCOMMENT); out.write("<span class=\"c\">//"); }
90 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
99 \' { yybegin(YYINITIAL); out.write("'</span>"); }
103 "*/" { yybegin(YYINITIAL); out.write("*/</span>"); }
107 {WhiteSpace}*{EOL} { yybegin(YYINITIAL); out.write("</span>"); startNewLine(); }
/opengrok/src/org/opensolaris/opengrok/analysis/lua/
H A DLuaSymbolTokenizer.lex63 \" { yybegin(STRING); }
64 "[[" { yybegin(LSTRING); }
65 \' { yybegin(QSTRING); }
66 "--[[" { yybegin(COMMENT); }
67 "--" { yybegin(SCOMMENT); }
71 \" { yybegin(YYINITIAL); }
76 "]]" { yybegin(YYINITIAL); }
80 \' { yybegin(YYINITIAL); }
84 "]]" { yybegin(YYINITIAL); }
88 \n { yybegin(YYINITIA
[all...]
H A DLuaXref.lex69 \" { yybegin(STRING); out.write("<span class=\"s\">\""); }
70 "[[" { yybegin(LSTRING); out.write("<span class=\"s\">[["); }
71 \' { yybegin(QSTRING); out.write("<span class=\"s\">\'"); }
72 "--[[" { yybegin(COMMENT); out.write("<span class=\"c\">--[["); }
73 "--" { yybegin(SCOMMENT); out.write("<span class=\"c\">--"); }
91 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
100 \' { yybegin(YYINITIAL); out.write("'</span>"); }
105 "]]" { yybegin(YYINITIAL); out.write("]]</span>"); }
111 "--]]" { yybegin(YYINITIAL); out.write("--]]</span>"); }
115 {WhiteSpace}*{EOL} { yybegin(YYINITIA
[all...]
/opengrok/src/org/opensolaris/opengrok/analysis/sql/
H A DPLSQLXref.lex73 "'" { yybegin(STRING); out.append("<span class=\"s\">'"); }
75 \" { yybegin(QUOTED_IDENTIFIER); out.append("<span class=\"s\">\""); }
77 "--" { yybegin(SINGLE_LINE_COMMENT); out.append("<span class=\"c\">--"); }
80 yybegin(BRACKETED_COMMENT);
88 "'" { yybegin(YYINITIAL); out.append("'</span>"); }
93 \" { yybegin(YYINITIAL); out.append("\"</span>"); }
98 yybegin(YYINITIAL);
110 yybegin(YYINITIAL);
H A DSQLXref.lex73 "'" { yybegin(STRING); out.append("<span class=\"s\">'"); }
75 \" { yybegin(QUOTED_IDENTIFIER); out.append("<span class=\"s\">\""); }
77 "--" { yybegin(SINGLE_LINE_COMMENT); out.append("<span class=\"c\">--"); }
80 yybegin(BRACKETED_COMMENT);
88 "'" { yybegin(YYINITIAL); out.append("'</span>"); }
93 \" { yybegin(YYINITIAL); out.append("\"</span>"); }
98 yybegin(YYINITIAL);
110 yybegin(YYINITIAL);
/opengrok/src/org/opensolaris/opengrok/analysis/
H A DJFlexTokenizer.java53 abstract public void yybegin(int newState); method in class:JFlexTokenizer
111 this.yybegin(newState);
115 this.yybegin(this.stack.pop());
/opengrok/src/org/opensolaris/opengrok/analysis/rust/
H A DRustXref.lex83 \" { yybegin(STRING); out.write("<span class=\"s\">\""); }
84 \' { yybegin(QSTRING); out.write("<span class=\"s\">\'"); }
85 "///" { yybegin(SCOMMENT); out.write("<span class=\"c\">///"); }
86 "//!" { yybegin(SCOMMENT); out.write("<span class=\"c\">//!"); }
87 "//" { yybegin(SCOMMENT); out.write("<span class=\"c\">//"); }
88 "/**" / [^/] { yybegin(COMMENT); out.write("<span class=\"c\">/**"); }
89 "/*" { yybegin(COMMENT); out.write("<span class=\"c\">/*"); }
93 "*/" { yybegin(YYINITIAL); out.write("*/</span>"); }
97 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
100 {WhiteSpace}*{EOL} { yybegin(YYINITIA
[all...]
/opengrok/src/org/opensolaris/opengrok/analysis/php/
H A DPhpSymbolTokenizer.lex246 \[ { yybegin(IN_SCRIPT); } /* don't push. when we find '}'
264 yybegin(DOCCOM_TYPE);
268 yybegin(DOCCOM_TYPE_THEN_NAME);
272 yybegin(DOCCOM_NAME);
284 yybegin(yystate() == DOCCOM_TYPE_THEN_NAME ? DOCCOM_NAME : DOCCOMMENT);
294 [^] { yybegin(DOCCOMMENT); yypushback(1); }
300 yybegin(DOCCOMMENT);
304 [^] { yybegin(DOCCOMMENT); yypushback(1); }
H A DPhpXref.lex135 yybegin(HTMLCOMMENT);
144 yybegin(AFTER_TAG_NAME);
155 yybegin(AFTER_TAG_NAME);
229 yybegin(YYINITIAL);
464 \[ { out.write('['); yybegin(IN_SCRIPT); } /* don't push. when we find '}'
487 writeDocTag(); yybegin(DOCCOM_TYPE);
491 writeDocTag(); yybegin(DOCCOM_TYPE_THEN_NAME);
495 writeDocTag(); yybegin(DOCCOM_NAME);
525 yybegin(yystate() == DOCCOM_TYPE_THEN_NAME ? DOCCOM_NAME : DOCCOMMENT);
528 [^] { yybegin(DOCCOMMEN
[all...]
/opengrok/src/org/opensolaris/opengrok/analysis/clojure/
H A DClojureXref.lex82 \" { yybegin(STRING);out.write("<span class=\"s\">\"");}
83 ";" { yybegin(SCOMMENT);out.write("<span class=\"c\">;");}
88 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
94 "#|" { yybegin(COMMENT);
103 yybegin(YYINITIAL);
111 yybegin(YYINITIAL); out.write("</span>");
/opengrok/src/org/opensolaris/opengrok/analysis/lisp/
H A DLispXref.lex82 \" { yybegin(STRING);out.write("<span class=\"s\">\"");}
83 ";" { yybegin(SCOMMENT);out.write("<span class=\"c\">;");}
88 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
94 "#|" { yybegin(COMMENT);
103 yybegin(YYINITIAL);
111 yybegin(YYINITIAL); out.write("</span>");
/opengrok/src/org/opensolaris/opengrok/analysis/fortran/
H A DFortranSymbolTokenizer.lex52 ^[^ \t\f\r\n]+ { yybegin(SCOMMENT); }
58 \" { yybegin(STRING); }
59 \' { yybegin(QSTRING); }
60 \! { yybegin(SCOMMENT); }
64 \" { yybegin(YYINITIAL); }
69 \' { yybegin(YYINITIAL); }
73 "*/" { yybegin(YYINITIAL);}
77 \n { yybegin(YYINITIAL);}
/opengrok/src/org/opensolaris/opengrok/analysis/perl/
H A DPerlXref.lex96 \" { yybegin(STRING);out.write("<span class=\"s\">\"");}
97 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'");}
98 "#" { yybegin(SCOMMENT);out.write("<span class=\"c\">#");}
99 ^ {Pods} { yybegin(POD);out.write("<span class=\"c\">"+yytext());}
104 yybegin(YYINITIAL); out.write(yytext()+"</span>");
111 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
115 yybegin(YYINITIAL); out.write("</span>");
124 \' { yybegin(YYINITIAL); out.write("'</span>"); }
126 yybegin(YYINITIAL); out.write("</span>");
133 yybegin(YYINITIA
[all...]
/opengrok/src/org/opensolaris/opengrok/analysis/plain/
H A DXMLXref.lex60 "<!--" { yybegin(COMMENT); out.write("<span class=\"c\">&lt;!--"); }
62 yybegin(CDATA);
65 "<" { yybegin(TAG); out.write("&lt;");}
71 \" { yybegin(STRING); out.write("<span class=\"s\">\""); }
72 \' { yybegin(SSTRING); out.write("<span class=\"s\">'"); }
73 ">" { yybegin(YYINITIAL); out.write("&gt;"); }
74 "<" { yybegin(YYINITIAL); out.write("&lt;"); }
79 \" { yybegin(TAG); out.write("\"</span>"); }
89 \' { yybegin(TAG); out.write("'</span>"); }
93 "-->" { yybegin(YYINITIA
[all...]
/opengrok/src/org/opensolaris/opengrok/analysis/document/
H A DTroffXref.lex133 ^\.(SH|TH|SS|IP|NH|TL|UH) { yybegin(HEADER); cleanup(); openDiv("b");}
134 ^(".\\\"")|(\'\\\")|("...\\\"") { yybegin(COMMENT);openSpan('c');}
138 {EOL} { yybegin(YYINITIAL); cleanup(); closeDiv(); yyline++;}
142 {EOL} { yybegin(YYINITIAL); closeSpan(); out.write("<br/>"); yyline++;}
145 ^\.(B|U|BI|BX|UL|LG|NL|SB|BR|RB) { yybegin(BOLD); openSpan('b'); }
146 ^\.(I|SM|IB|IR|RI|IX) { yybegin(BOLD); openSpan('s'); }
147 ^\.(CW) { yybegin(BOLD); openSpan('k'); }
152 {EOL} { yybegin(YYINITIAL); closeSpan(); out.write(' '); yyline++;}
180 ^\.TS { cleanup(); yybegin(TBL);out.write("<table rules=\"all\"><tr><td>");}
183 \.$ { yybegin(TBL
[all...]
/opengrok/src/org/opensolaris/opengrok/analysis/python/
H A DPythonXref.lex86 \" { yybegin(STRING);out.write("<span class=\"s\">\"");}
87 \"\"\" { yybegin(LSTRING);out.write("<span class=\"s\">\"\"\"");}
88 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'");}
89 \'\'\' { yybegin(LQSTRING);out.write("<span class=\"s\">\'\'\'");}
90 "#" { yybegin(SCOMMENT);out.write("<span class=\"c\">#");}
94 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
98 yybegin(YYINITIAL); out.write("</span>");
107 \' { yybegin(YYINITIAL); out.write("'</span>"); }
109 yybegin(YYINITIAL); out.write("</span>");
116 \"\"\" { yybegin(YYINITIA
[all...]
/opengrok/src/org/opensolaris/opengrok/analysis/tcl/
H A DTclXref.lex75 \" { yybegin(STRING);out.write("<span class=\"s\">\"");}
76 "#" { yybegin(SCOMMENT);out.write("<span class=\"c\">#");}
81 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
88 yybegin(YYINITIAL); out.write("</span>");
/opengrok/src/org/opensolaris/opengrok/analysis/sh/
H A DShXref.lex71 yybegin(state);
76 yybegin(stateStack.pop());
/opengrok/src/org/opensolaris/opengrok/analysis/vb/
H A DVBXref.lex94 \" { yybegin(STRING);out.write("<span class=\"s\">\"");}
95 \' { yybegin(COMMENT);out.write("<span class=\"c\">\'");}
100 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
102 \\\" { yybegin(YYINITIAL); out.write("\\\"</span>"); }
108 yybegin(YYINITIAL); out.write("</span>");
/opengrok/src/org/opensolaris/opengrok/analysis/pascal/
H A DPascalXref.lex96 \" { yybegin(STRING);out.write("<span class=\"s\">\"");}
97 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'");}
98 \{ { yybegin(COMMENT);out.write("<span class=\"c\">{");}
99 "//" { yybegin(SCOMMENT);out.write("<span class=\"c\">//");}
104 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
113 \' { yybegin(YYINITIAL); out.write("'</span>"); }
117 \} { yybegin(YYINITIAL); out.write("}</span>"); }
123 yybegin(YYINITIAL); out.write("</span>");

Completed in 37 milliseconds

12