Python pygments.lexers.jvm.JavaLexer() Examples

The following are 20 code examples of pygments.lexers.jvm.JavaLexer(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module pygments.lexers.jvm , or try the search function .
Example #1
Source File: parsers.py    From Carnets with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def __init__(self, **options):
        super(RagelJavaLexer, self).__init__(JavaLexer, RagelEmbeddedLexer,
                                             **options) 
Example #2
Source File: parsers.py    From syntax-highlighting with GNU Affero General Public License v3.0 5 votes vote down vote up
def __init__(self, **options):
        super(AntlrJavaLexer, self).__init__(JavaLexer, AntlrLexer,
                                             **options) 
Example #3
Source File: parsers.py    From syntax-highlighting with GNU Affero General Public License v3.0 5 votes vote down vote up
def __init__(self, **options):
        super(RagelJavaLexer, self).__init__(JavaLexer, RagelEmbeddedLexer,
                                             **options) 
Example #4
Source File: parsers.py    From android_universal with MIT License 5 votes vote down vote up
def __init__(self, **options):
        super(AntlrJavaLexer, self).__init__(JavaLexer, AntlrLexer,
                                             **options) 
Example #5
Source File: parsers.py    From android_universal with MIT License 5 votes vote down vote up
def __init__(self, **options):
        super(RagelJavaLexer, self).__init__(JavaLexer, RagelEmbeddedLexer,
                                             **options) 
Example #6
Source File: parsers.py    From diaphora with GNU Affero General Public License v3.0 5 votes vote down vote up
def __init__(self, **options):
        super(AntlrJavaLexer, self).__init__(JavaLexer, AntlrLexer,
                                             **options) 
Example #7
Source File: parsers.py    From diaphora with GNU Affero General Public License v3.0 5 votes vote down vote up
def __init__(self, **options):
        super(RagelJavaLexer, self).__init__(JavaLexer, RagelEmbeddedLexer,
                                             **options) 
Example #8
Source File: parsers.py    From V1EngineeringInc-Docs with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
def __init__(self, **options):
        super(AntlrJavaLexer, self).__init__(JavaLexer, AntlrLexer,
                                             **options) 
Example #9
Source File: parsers.py    From V1EngineeringInc-Docs with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
def __init__(self, **options):
        super(RagelJavaLexer, self).__init__(JavaLexer, RagelEmbeddedLexer,
                                             **options) 
Example #10
Source File: parsers.py    From Carnets with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def __init__(self, **options):
        super(AntlrJavaLexer, self).__init__(JavaLexer, AntlrLexer,
                                             **options) 
Example #11
Source File: java_tokenizer_test.py    From bigcode-tools with MIT License 5 votes vote down vote up
def setUpClass(cls):
        cls.lexer = JavaLexer() 
Example #12
Source File: parsers.py    From komodo-wakatime with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def __init__(self, **options):
        super(AntlrJavaLexer, self).__init__(JavaLexer, AntlrLexer,
                                             **options) 
Example #13
Source File: parsers.py    From komodo-wakatime with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def __init__(self, **options):
        super(RagelJavaLexer, self).__init__(JavaLexer, RagelEmbeddedLexer,
                                             **options) 
Example #14
Source File: parsers.py    From pygments with BSD 2-Clause "Simplified" License 5 votes vote down vote up
def __init__(self, **options):
        super(AntlrJavaLexer, self).__init__(JavaLexer, AntlrLexer,
                                             **options) 
Example #15
Source File: parsers.py    From pygments with BSD 2-Clause "Simplified" License 5 votes vote down vote up
def __init__(self, **options):
        super(RagelJavaLexer, self).__init__(JavaLexer, RagelEmbeddedLexer,
                                             **options) 
Example #16
Source File: parsers.py    From pySINDy with MIT License 5 votes vote down vote up
def __init__(self, **options):
        super(AntlrJavaLexer, self).__init__(JavaLexer, AntlrLexer,
                                             **options) 
Example #17
Source File: parsers.py    From pySINDy with MIT License 5 votes vote down vote up
def __init__(self, **options):
        super(RagelJavaLexer, self).__init__(JavaLexer, RagelEmbeddedLexer,
                                             **options) 
Example #18
Source File: parsers.py    From pigaios with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self, **options):
        super(AntlrJavaLexer, self).__init__(JavaLexer, AntlrLexer,
                                             **options) 
Example #19
Source File: parsers.py    From pigaios with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self, **options):
        super(RagelJavaLexer, self).__init__(JavaLexer, RagelEmbeddedLexer,
                                             **options) 
Example #20
Source File: tokenizer.py    From bigcode-tools with MIT License 5 votes vote down vote up
def __init__(self, **kwargs):
        super(JavaTokenizer, self).__init__(**kwargs)
        self._lexer = JavaLexer()