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

/opengrok-sun/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-sun/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 .|\n { yybegin(DOCCOMMENT); yypushback(1); }
300 yybegin(DOCCOMMENT);
304 .|\n { yybegin(DOCCOMMENT); yypushback(1); }
H A DPhpXref.lex131 yybegin(HTMLCOMMENT);
140 yybegin(AFTER_TAG_NAME);
151 yybegin(AFTER_TAG_NAME);
225 yybegin(YYINITIAL);
460 \[ { out.write('['); yybegin(IN_SCRIPT); } /* don't push. when we find '}'
483 writeDocTag(); yybegin(DOCCOM_TYPE);
487 writeDocTag(); yybegin(DOCCOM_TYPE_THEN_NAME);
491 writeDocTag(); yybegin(DOCCOM_NAME);
521 yybegin(yystate() == DOCCOM_TYPE_THEN_NAME ? DOCCOM_NAME : DOCCOMMENT);
524 .|\n { yybegin(DOCCOMMEN
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/analysis/
H A DJFlexTokenizer.java55 abstract public void yybegin(int newState); method in class:JFlexTokenizer
119 this.yybegin(newState);
123 this.yybegin(this.stack.pop());
H A DJFlexXref.java213 public abstract void yybegin(int newState); method in class:JFlexXref
468 yybegin(newState);
472 yybegin(this.stack.pop());
/opengrok-sun/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-sun/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);}
H A DFortranXref.lex66 ^[^ \t\f\r\n]+ { String commentStr = yytext(); yybegin(LCOMMENT);out.write("<span class=\"c\">"+commentStr);}
88 \" { yybegin(STRING);out.write("<span class=\"s\">\"");}
89 \' { yybegin(QSTRING);out.write("<span class=\"s\">\'");}
90 \! { yybegin(SCOMMENT);out.write("<span class=\"c\">!");}
95 \" { yybegin(YYINITIAL); out.write("\"</span>"); }
104 \' { yybegin(YYINITIAL); out.write("'</span>"); }
108 "*/" { yybegin(YYINITIAL); out.write("*/</span>"); }
112 {WhiteSpace}*{EOL} { yybegin(YYINITIAL); out.write("</span>");
120 {WhiteSpace}*{EOL} { yybegin(YYINITIAL); out.write("</span>");
/opengrok-sun/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-sun/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-sun/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-sun/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-sun/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-sun/src/org/opensolaris/opengrok/analysis/sh/
H A DShXref.lex73 yybegin(state);
78 yybegin(stateStack.pop());
/opengrok-sun/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>");

Completed in 15 milliseconds