move python-community lexers to gen root

This commit is contained in:
Sergey Ignatov
2014-04-26 11:42:38 +04:00
parent 90d1e846c4
commit fd2765c645
4 changed files with 28 additions and 75 deletions
@@ -1,20 +1,4 @@
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* The following code was generated by JFlex 1.4.3 on 8/26/10 7:31 PM */
/* The following code was generated by JFlex 1.4.3 on 4/26/14 11:32 AM */
package com.jetbrains.python.buildout.config.lexer;
@@ -27,8 +11,8 @@ import com.jetbrains.python.buildout.config.BuildoutCfgTokenTypes;
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
* on 8/26/10 7:31 PM from the specification file
* <tt>C:/Projects/IDEA/tools/lexer/../../python/src/com/jetbrains/python/buildout/config/lexer/buildout.cfg.flex</tt>
* on 4/26/14 11:32 AM from the specification file
* <tt>/Users/ignatov/src/ultimate/tools/lexer/../../community/python/src/com/jetbrains/python/buildout/config/lexer/buildout.cfg.flex</tt>
*/
public class _BuildoutCfgFlexLexer implements FlexLexer, BuildoutCfgTokenTypes {
/** initial size of the lookahead buffer */
@@ -448,7 +432,7 @@ public class _BuildoutCfgFlexLexer implements FlexLexer, BuildoutCfgTokenTypes {
while (true) {
if (zzCurrentPosL < zzEndReadL)
zzInput = zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++]:zzBufferL.charAt(zzCurrentPosL++);
zzInput = (zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++] : zzBufferL.charAt(zzCurrentPosL++));
else if (zzAtEOF) {
zzInput = YYEOF;
break zzForAction;
@@ -468,7 +452,7 @@ public class _BuildoutCfgFlexLexer implements FlexLexer, BuildoutCfgTokenTypes {
break zzForAction;
}
else {
zzInput = zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++]:zzBufferL.charAt(zzCurrentPosL++);
zzInput = (zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++] : zzBufferL.charAt(zzCurrentPosL++));
}
}
int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ];
@@ -505,22 +489,6 @@ public class _BuildoutCfgFlexLexer implements FlexLexer, BuildoutCfgTokenTypes {
{ yybegin(IN_VALUE); return KEY_VALUE_SEPARATOR;
}
case 15: break;
case 6:
{ return SECTION_NAME;
}
case 16: break;
case 5:
{ yybegin(YYINITIAL); return COMMENT;
}
case 17: break;
case 2:
{ return WHITESPACE;
}
case 18: break;
case 8:
{ yybegin(YYINITIAL); return RBRACKET;
}
case 19: break;
case 10:
{ CharSequence matched = yytext();
int ind = matched.toString().indexOf(" ;");
@@ -532,6 +500,22 @@ public class _BuildoutCfgFlexLexer implements FlexLexer, BuildoutCfgTokenTypes {
}
return VALUE_CHARACTERS;
}
case 16: break;
case 6:
{ return SECTION_NAME;
}
case 17: break;
case 5:
{ yybegin(YYINITIAL); return COMMENT;
}
case 18: break;
case 2:
{ return WHITESPACE;
}
case 19: break;
case 8:
{ yybegin(YYINITIAL); return RBRACKET;
}
case 20: break;
case 1:
{ yybegin(IN_KEY_VALUE_SEPARATOR); return KEY_CHARACTERS;
@@ -1,20 +1,4 @@
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* The following code was generated by JFlex 1.4.3 on 6/19/13 1:28 PM */
/* The following code was generated by JFlex 1.4.3 on 4/26/14 11:33 AM */
/* It's an automatically generated code. Do not modify it. */
package com.jetbrains.python.lexer;
@@ -28,8 +12,8 @@ import com.intellij.openapi.util.text.StringUtil;
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
* on 6/19/13 1:28 PM from the specification file
* <tt>/home/ktisha/IDEA/tools/lexer/../../python/src/com/jetbrains/python/lexer/Python.flex</tt>
* on 4/26/14 11:33 AM from the specification file
* <tt>/Users/ignatov/src/ultimate/tools/lexer/../../community/python/src/com/jetbrains/python/lexer/Python.flex</tt>
*/
class _PythonLexer implements FlexLexer {
/** initial size of the lookahead buffer */
@@ -1,20 +1,4 @@
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* The following code was generated by JFlex 1.4.3 on 7/23/13 5:34 PM */
/* The following code was generated by JFlex 1.4.3 on 4/26/14 11:34 AM */
package com.jetbrains.python.psi.types;
@@ -27,8 +11,8 @@ import static com.jetbrains.python.psi.types.PyTypeTokenTypes.*;
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
* on 7/23/13 5:34 PM from the specification file
* <tt>/home/user/src/idea/tools/lexer/../../python/src/com/jetbrains/python/psi/types/PyType.flex</tt>
* on 4/26/14 11:34 AM from the specification file
* <tt>/Users/ignatov/src/ultimate/tools/lexer/../../community/python/src/com/jetbrains/python/psi/types/PyType.flex</tt>
*/
public class PyTypeLexer implements FlexLexer {
/** initial size of the lookahead buffer */
+1
View File
@@ -5,6 +5,7 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/resources" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />