0N/A * The contents of this file are subject to the terms of the 0N/A * Common Development and Distribution License (the "License"). 0N/A * You may not use this file except in compliance with the License. 0N/A * language governing permissions and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL HEADER in each 0N/A * If applicable, add the following below this CDDL HEADER, with the 0N/A * fields enclosed by brackets "[]" replaced with your own identifying 0N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1067N/A * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 974N/A \
" { yybegin(STRING); } 974N/A \' { yybegin(QSTRING); } 974N/A "#
" { yybegin(SCOMMENT); } 1004N/A setAttribs(yytext().substring(1), yychar + 1, yychar + yylength()); 1006N/A int startOffset = 2; // trim away the "${
" prefix 1006N/A int endOffset = yylength() - 1; // trim away the "}
" suffix 1006N/A setAttribs(yytext().substring(startOffset, endOffset), 974N/A \" { yybegin(YYINITIAL); } 974N/A \' { yybegin(YYINITIAL); } 974N/A\n { yybegin(YYINITIAL);} 0N/A<YYINITIAL, STRING, SCOMMENT, QSTRING> { 928N/A<<EOF>> { return false;}