jsyntaxpane

Is inheritance possible in JFlex?

I'm fairly new to JFlex and JSyntaxPane although I have managed to hack together a lexer for XPath. The problem I find myself in is that I'm working on a project that supports a subset of XPath with a few proprietary features. Nasty I know. If this were a regular Java problem I'd turn to inheritance but it doesn't seem possible to ach...

Keeping track of state in JFlex

I'm writing a custom flex file to generate a lexer for use with JSyntaxpane. The custom language I need to lex has different states that can be embedded into each other in a kind of stack. I.E you could be writing an expression that has a single quoted string in it and then embed another expression within the string using a special tok...