All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.daisy.pipeline.css.sass.impl.DoxygenLexer Maven / Gradle / Ivy

The newest version!
// $ANTLR 3.5.2 org/daisy/pipeline/css/sass/impl/Doxygen.g 2024-10-03 13:12:09
 package org.daisy.pipeline.css.sass.impl; 

import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;

@SuppressWarnings("all")
public class DoxygenLexer extends Lexer {
	public static final int EOF=-1;
	public static final int ANY=4;
	public static final int AT_COMMAND=5;
	public static final int BRIEF=6;
	public static final int CODE_FENCE=7;
	public static final int DOLLAR=8;
	public static final int EOL=9;
	public static final int S=10;
	public static final int VAR=11;
	public static final int XML_COMMAND_CLOSE=12;
	public static final int XML_COMMAND_OPEN=13;

	// delegates
	// delegators
	public Lexer[] getDelegates() {
		return new Lexer[] {};
	}

	public DoxygenLexer() {} 
	public DoxygenLexer(CharStream input) {
		this(input, new RecognizerSharedState());
	}
	public DoxygenLexer(CharStream input, RecognizerSharedState state) {
		super(input,state);
	}
	@Override public String getGrammarFileName() { return "org/daisy/pipeline/css/sass/impl/Doxygen.g"; }

	// $ANTLR start "DOLLAR"
	public final void mDOLLAR() throws RecognitionException {
		try {
			int _type = DOLLAR;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:274:8: ( '$' )
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:274:10: '$'
			{
			match('$'); 
			}

			state.type = _type;
			state.channel = _channel;
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "DOLLAR"

	// $ANTLR start "VAR"
	public final void mVAR() throws RecognitionException {
		try {
			int _type = VAR;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:276:5: ( '@var' )
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:276:7: '@var'
			{
			match("@var"); 

			}

			state.type = _type;
			state.channel = _channel;
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "VAR"

	// $ANTLR start "BRIEF"
	public final void mBRIEF() throws RecognitionException {
		try {
			int _type = BRIEF;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:278:7: ( '@brief' )
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:278:9: '@brief'
			{
			match("@brief"); 

			}

			state.type = _type;
			state.channel = _channel;
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "BRIEF"

	// $ANTLR start "CODE_FENCE"
	public final void mCODE_FENCE() throws RecognitionException {
		try {
			int _type = CODE_FENCE;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:280:12: ( '~~~' )
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:280:14: '~~~'
			{
			match("~~~"); 

			}

			state.type = _type;
			state.channel = _channel;
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "CODE_FENCE"

	// $ANTLR start "AT_COMMAND"
	public final void mAT_COMMAND() throws RecognitionException {
		try {
			int _type = AT_COMMAND;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:283:5: ( '@' (~ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' ) )+ )
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:283:7: '@' (~ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' ) )+
			{
			match('@'); 
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:283:11: (~ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' ) )+
			int cnt1=0;
			loop1:
			while (true) {
				int alt1=2;
				int LA1_0 = input.LA(1);
				if ( ((LA1_0 >= '\u0000' && LA1_0 <= '\b')||(LA1_0 >= '\u000B' && LA1_0 <= '\f')||(LA1_0 >= '\u000E' && LA1_0 <= '\u001F')||(LA1_0 >= '!' && LA1_0 <= '\uFFFF')) ) {
					alt1=1;
				}

				switch (alt1) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:
					{
					if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '\b')||(input.LA(1) >= '\u000B' && input.LA(1) <= '\f')||(input.LA(1) >= '\u000E' && input.LA(1) <= '\u001F')||(input.LA(1) >= '!' && input.LA(1) <= '\uFFFF') ) {
						input.consume();
					}
					else {
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					if ( cnt1 >= 1 ) break loop1;
					EarlyExitException eee = new EarlyExitException(1, input);
					throw eee;
				}
				cnt1++;
			}

			}

			state.type = _type;
			state.channel = _channel;
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "AT_COMMAND"

	// $ANTLR start "XML_COMMAND_OPEN"
	public final void mXML_COMMAND_OPEN() throws RecognitionException {
		try {
			int _type = XML_COMMAND_OPEN;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:287:5: ( '<' (~ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' | '<' | '>' | '/' ) )+ ( ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )+ (~ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' | '<' | '=' ) )+ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )* '=' ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )* ( ( '\"' (~ '\"' )* '\"' ) | ( '\\'' (~ '\\'' )* '\\'' ) ) )* ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )* '>' )
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:287:7: '<' (~ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' | '<' | '>' | '/' ) )+ ( ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )+ (~ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' | '<' | '=' ) )+ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )* '=' ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )* ( ( '\"' (~ '\"' )* '\"' ) | ( '\\'' (~ '\\'' )* '\\'' ) ) )* ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )* '>'
			{
			match('<'); 
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:288:7: (~ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' | '<' | '>' | '/' ) )+
			int cnt2=0;
			loop2:
			while (true) {
				int alt2=2;
				int LA2_0 = input.LA(1);
				if ( ((LA2_0 >= '\u0000' && LA2_0 <= '\b')||(LA2_0 >= '\u000B' && LA2_0 <= '\f')||(LA2_0 >= '\u000E' && LA2_0 <= '\u001F')||(LA2_0 >= '!' && LA2_0 <= '.')||(LA2_0 >= '0' && LA2_0 <= ';')||LA2_0=='='||(LA2_0 >= '?' && LA2_0 <= '\uFFFF')) ) {
					alt2=1;
				}

				switch (alt2) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:
					{
					if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '\b')||(input.LA(1) >= '\u000B' && input.LA(1) <= '\f')||(input.LA(1) >= '\u000E' && input.LA(1) <= '\u001F')||(input.LA(1) >= '!' && input.LA(1) <= '.')||(input.LA(1) >= '0' && input.LA(1) <= ';')||input.LA(1)=='='||(input.LA(1) >= '?' && input.LA(1) <= '\uFFFF') ) {
						input.consume();
					}
					else {
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					if ( cnt2 >= 1 ) break loop2;
					EarlyExitException eee = new EarlyExitException(2, input);
					throw eee;
				}
				cnt2++;
			}

			// org/daisy/pipeline/css/sass/impl/Doxygen.g:289:7: ( ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )+ (~ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' | '<' | '=' ) )+ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )* '=' ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )* ( ( '\"' (~ '\"' )* '\"' ) | ( '\\'' (~ '\\'' )* '\\'' ) ) )*
			loop10:
			while (true) {
				int alt10=2;
				alt10 = dfa10.predict(input);
				switch (alt10) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:290:11: ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )+ (~ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' | '<' | '=' ) )+ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )* '=' ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )* ( ( '\"' (~ '\"' )* '\"' ) | ( '\\'' (~ '\\'' )* '\\'' ) )
					{
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:290:11: ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )+
					int cnt3=0;
					loop3:
					while (true) {
						int alt3=2;
						int LA3_0 = input.LA(1);
						if ( ((LA3_0 >= '\t' && LA3_0 <= '\n')||LA3_0=='\r'||LA3_0==' ') ) {
							alt3=1;
						}

						switch (alt3) {
						case 1 :
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:
							{
							if ( (input.LA(1) >= '\t' && input.LA(1) <= '\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
								input.consume();
							}
							else {
								MismatchedSetException mse = new MismatchedSetException(null,input);
								recover(mse);
								throw mse;
							}
							}
							break;

						default :
							if ( cnt3 >= 1 ) break loop3;
							EarlyExitException eee = new EarlyExitException(3, input);
							throw eee;
						}
						cnt3++;
					}

					// org/daisy/pipeline/css/sass/impl/Doxygen.g:291:11: (~ ( '\\u0020' | '\\u0009' | '\\r' | '\\n' | '<' | '=' ) )+
					int cnt4=0;
					loop4:
					while (true) {
						int alt4=2;
						int LA4_0 = input.LA(1);
						if ( ((LA4_0 >= '\u0000' && LA4_0 <= '\b')||(LA4_0 >= '\u000B' && LA4_0 <= '\f')||(LA4_0 >= '\u000E' && LA4_0 <= '\u001F')||(LA4_0 >= '!' && LA4_0 <= ';')||(LA4_0 >= '>' && LA4_0 <= '\uFFFF')) ) {
							alt4=1;
						}

						switch (alt4) {
						case 1 :
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:
							{
							if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '\b')||(input.LA(1) >= '\u000B' && input.LA(1) <= '\f')||(input.LA(1) >= '\u000E' && input.LA(1) <= '\u001F')||(input.LA(1) >= '!' && input.LA(1) <= ';')||(input.LA(1) >= '>' && input.LA(1) <= '\uFFFF') ) {
								input.consume();
							}
							else {
								MismatchedSetException mse = new MismatchedSetException(null,input);
								recover(mse);
								throw mse;
							}
							}
							break;

						default :
							if ( cnt4 >= 1 ) break loop4;
							EarlyExitException eee = new EarlyExitException(4, input);
							throw eee;
						}
						cnt4++;
					}

					// org/daisy/pipeline/css/sass/impl/Doxygen.g:292:11: ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )*
					loop5:
					while (true) {
						int alt5=2;
						int LA5_0 = input.LA(1);
						if ( ((LA5_0 >= '\t' && LA5_0 <= '\n')||LA5_0=='\r'||LA5_0==' ') ) {
							alt5=1;
						}

						switch (alt5) {
						case 1 :
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:
							{
							if ( (input.LA(1) >= '\t' && input.LA(1) <= '\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
								input.consume();
							}
							else {
								MismatchedSetException mse = new MismatchedSetException(null,input);
								recover(mse);
								throw mse;
							}
							}
							break;

						default :
							break loop5;
						}
					}

					match('='); 
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:294:11: ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )*
					loop6:
					while (true) {
						int alt6=2;
						int LA6_0 = input.LA(1);
						if ( ((LA6_0 >= '\t' && LA6_0 <= '\n')||LA6_0=='\r'||LA6_0==' ') ) {
							alt6=1;
						}

						switch (alt6) {
						case 1 :
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:
							{
							if ( (input.LA(1) >= '\t' && input.LA(1) <= '\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
								input.consume();
							}
							else {
								MismatchedSetException mse = new MismatchedSetException(null,input);
								recover(mse);
								throw mse;
							}
							}
							break;

						default :
							break loop6;
						}
					}

					// org/daisy/pipeline/css/sass/impl/Doxygen.g:295:11: ( ( '\"' (~ '\"' )* '\"' ) | ( '\\'' (~ '\\'' )* '\\'' ) )
					int alt9=2;
					int LA9_0 = input.LA(1);
					if ( (LA9_0=='\"') ) {
						alt9=1;
					}
					else if ( (LA9_0=='\'') ) {
						alt9=2;
					}

					else {
						NoViableAltException nvae =
							new NoViableAltException("", 9, 0, input);
						throw nvae;
					}

					switch (alt9) {
						case 1 :
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:296:13: ( '\"' (~ '\"' )* '\"' )
							{
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:296:13: ( '\"' (~ '\"' )* '\"' )
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:296:14: '\"' (~ '\"' )* '\"'
							{
							match('\"'); 
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:296:18: (~ '\"' )*
							loop7:
							while (true) {
								int alt7=2;
								int LA7_0 = input.LA(1);
								if ( ((LA7_0 >= '\u0000' && LA7_0 <= '!')||(LA7_0 >= '#' && LA7_0 <= '\uFFFF')) ) {
									alt7=1;
								}

								switch (alt7) {
								case 1 :
									// org/daisy/pipeline/css/sass/impl/Doxygen.g:
									{
									if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '\uFFFF') ) {
										input.consume();
									}
									else {
										MismatchedSetException mse = new MismatchedSetException(null,input);
										recover(mse);
										throw mse;
									}
									}
									break;

								default :
									break loop7;
								}
							}

							match('\"'); 
							}

							}
							break;
						case 2 :
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:297:13: ( '\\'' (~ '\\'' )* '\\'' )
							{
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:297:13: ( '\\'' (~ '\\'' )* '\\'' )
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:297:14: '\\'' (~ '\\'' )* '\\''
							{
							match('\''); 
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:297:19: (~ '\\'' )*
							loop8:
							while (true) {
								int alt8=2;
								int LA8_0 = input.LA(1);
								if ( ((LA8_0 >= '\u0000' && LA8_0 <= '&')||(LA8_0 >= '(' && LA8_0 <= '\uFFFF')) ) {
									alt8=1;
								}

								switch (alt8) {
								case 1 :
									// org/daisy/pipeline/css/sass/impl/Doxygen.g:
									{
									if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '&')||(input.LA(1) >= '(' && input.LA(1) <= '\uFFFF') ) {
										input.consume();
									}
									else {
										MismatchedSetException mse = new MismatchedSetException(null,input);
										recover(mse);
										throw mse;
									}
									}
									break;

								default :
									break loop8;
								}
							}

							match('\''); 
							}

							}
							break;

					}

					}
					break;

				default :
					break loop10;
				}
			}

			// org/daisy/pipeline/css/sass/impl/Doxygen.g:300:7: ( '\\u0020' | '\\u0009' | '\\r' | '\\n' )*
			loop11:
			while (true) {
				int alt11=2;
				int LA11_0 = input.LA(1);
				if ( ((LA11_0 >= '\t' && LA11_0 <= '\n')||LA11_0=='\r'||LA11_0==' ') ) {
					alt11=1;
				}

				switch (alt11) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:
					{
					if ( (input.LA(1) >= '\t' && input.LA(1) <= '\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
						input.consume();
					}
					else {
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					break loop11;
				}
			}

			match('>'); 
			}

			state.type = _type;
			state.channel = _channel;
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "XML_COMMAND_OPEN"

	// $ANTLR start "XML_COMMAND_CLOSE"
	public final void mXML_COMMAND_CLOSE() throws RecognitionException {
		try {
			int _type = XML_COMMAND_CLOSE;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:305:5: ( '' | '/' ) )+ '>' )
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:305:7: '' | '/' ) )+ '>'
			{
			match("' | '/' ) )+
			int cnt12=0;
			loop12:
			while (true) {
				int alt12=2;
				int LA12_0 = input.LA(1);
				if ( ((LA12_0 >= '\u0000' && LA12_0 <= '\b')||(LA12_0 >= '\u000B' && LA12_0 <= '\f')||(LA12_0 >= '\u000E' && LA12_0 <= '\u001F')||(LA12_0 >= '!' && LA12_0 <= '.')||(LA12_0 >= '0' && LA12_0 <= ';')||LA12_0=='='||(LA12_0 >= '?' && LA12_0 <= '\uFFFF')) ) {
					alt12=1;
				}

				switch (alt12) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:
					{
					if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '\b')||(input.LA(1) >= '\u000B' && input.LA(1) <= '\f')||(input.LA(1) >= '\u000E' && input.LA(1) <= '\u001F')||(input.LA(1) >= '!' && input.LA(1) <= '.')||(input.LA(1) >= '0' && input.LA(1) <= ';')||input.LA(1)=='='||(input.LA(1) >= '?' && input.LA(1) <= '\uFFFF') ) {
						input.consume();
					}
					else {
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					if ( cnt12 >= 1 ) break loop12;
					EarlyExitException eee = new EarlyExitException(12, input);
					throw eee;
				}
				cnt12++;
			}

			match('>'); 
			}

			state.type = _type;
			state.channel = _channel;
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "XML_COMMAND_CLOSE"

	// $ANTLR start "S"
	public final void mS() throws RecognitionException {
		try {
			int _type = S;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:311:5: ( ( '\\u0020' | '\\u0009' )+ )
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:311:7: ( '\\u0020' | '\\u0009' )+
			{
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:311:7: ( '\\u0020' | '\\u0009' )+
			int cnt13=0;
			loop13:
			while (true) {
				int alt13=2;
				int LA13_0 = input.LA(1);
				if ( (LA13_0=='\t'||LA13_0==' ') ) {
					alt13=1;
				}

				switch (alt13) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:
					{
					if ( input.LA(1)=='\t'||input.LA(1)==' ' ) {
						input.consume();
					}
					else {
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					if ( cnt13 >= 1 ) break loop13;
					EarlyExitException eee = new EarlyExitException(13, input);
					throw eee;
				}
				cnt13++;
			}

			}

			state.type = _type;
			state.channel = _channel;
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "S"

	// $ANTLR start "EOL"
	public final void mEOL() throws RecognitionException {
		try {
			int _type = EOL;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:318:5: ( ( '\\r\\n' | '\\n' | '\\r' ) ( '\\u0020' | '\\u0009' )* ( '*' ( '\\u0020' | '\\u0009' )* )? )
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:318:7: ( '\\r\\n' | '\\n' | '\\r' ) ( '\\u0020' | '\\u0009' )* ( '*' ( '\\u0020' | '\\u0009' )* )?
			{
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:318:7: ( '\\r\\n' | '\\n' | '\\r' )
			int alt14=3;
			int LA14_0 = input.LA(1);
			if ( (LA14_0=='\r') ) {
				int LA14_1 = input.LA(2);
				if ( (LA14_1=='\n') ) {
					alt14=1;
				}

				else {
					alt14=3;
				}

			}
			else if ( (LA14_0=='\n') ) {
				alt14=2;
			}

			else {
				NoViableAltException nvae =
					new NoViableAltException("", 14, 0, input);
				throw nvae;
			}

			switch (alt14) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:318:9: '\\r\\n'
					{
					match("\r\n"); 

					}
					break;
				case 2 :
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:319:9: '\\n'
					{
					match('\n'); 
					}
					break;
				case 3 :
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:320:9: '\\r'
					{
					match('\r'); 
					}
					break;

			}

			// org/daisy/pipeline/css/sass/impl/Doxygen.g:321:7: ( '\\u0020' | '\\u0009' )*
			loop15:
			while (true) {
				int alt15=2;
				int LA15_0 = input.LA(1);
				if ( (LA15_0=='\t'||LA15_0==' ') ) {
					alt15=1;
				}

				switch (alt15) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:
					{
					if ( input.LA(1)=='\t'||input.LA(1)==' ' ) {
						input.consume();
					}
					else {
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					break loop15;
				}
			}

			// org/daisy/pipeline/css/sass/impl/Doxygen.g:324:7: ( '*' ( '\\u0020' | '\\u0009' )* )?
			int alt17=2;
			int LA17_0 = input.LA(1);
			if ( (LA17_0=='*') ) {
				alt17=1;
			}
			switch (alt17) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:324:9: '*' ( '\\u0020' | '\\u0009' )*
					{
					match('*'); 
					// org/daisy/pipeline/css/sass/impl/Doxygen.g:325:9: ( '\\u0020' | '\\u0009' )*
					loop16:
					while (true) {
						int alt16=2;
						int LA16_0 = input.LA(1);
						if ( (LA16_0=='\t'||LA16_0==' ') ) {
							alt16=1;
						}

						switch (alt16) {
						case 1 :
							// org/daisy/pipeline/css/sass/impl/Doxygen.g:
							{
							if ( input.LA(1)=='\t'||input.LA(1)==' ' ) {
								input.consume();
							}
							else {
								MismatchedSetException mse = new MismatchedSetException(null,input);
								recover(mse);
								throw mse;
							}
							}
							break;

						default :
							break loop16;
						}
					}

					}
					break;

			}

			}

			state.type = _type;
			state.channel = _channel;
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "EOL"

	// $ANTLR start "ANY"
	public final void mANY() throws RecognitionException {
		try {
			int _type = ANY;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:332:5: ( . )
			// org/daisy/pipeline/css/sass/impl/Doxygen.g:332:7: .
			{
			matchAny(); 
			}

			state.type = _type;
			state.channel = _channel;
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "ANY"

	@Override
	public void mTokens() throws RecognitionException {
		// org/daisy/pipeline/css/sass/impl/Doxygen.g:1:8: ( DOLLAR | VAR | BRIEF | CODE_FENCE | AT_COMMAND | XML_COMMAND_OPEN | XML_COMMAND_CLOSE | S | EOL | ANY )
		int alt18=10;
		int LA18_0 = input.LA(1);
		if ( (LA18_0=='$') ) {
			alt18=1;
		}
		else if ( (LA18_0=='@') ) {
			int LA18_2 = input.LA(2);
			if ( (LA18_2=='v') ) {
				int LA18_10 = input.LA(3);
				if ( (LA18_10=='a') ) {
					int LA18_18 = input.LA(4);
					if ( (LA18_18=='r') ) {
						int LA18_20 = input.LA(5);
						if ( ((LA18_20 >= '\u0000' && LA18_20 <= '\b')||(LA18_20 >= '\u000B' && LA18_20 <= '\f')||(LA18_20 >= '\u000E' && LA18_20 <= '\u001F')||(LA18_20 >= '!' && LA18_20 <= '\uFFFF')) ) {
							alt18=5;
						}

						else {
							alt18=2;
						}

					}

					else {
						alt18=5;
					}

				}

				else {
					alt18=5;
				}

			}
			else if ( (LA18_2=='b') ) {
				int LA18_11 = input.LA(3);
				if ( (LA18_11=='r') ) {
					int LA18_19 = input.LA(4);
					if ( (LA18_19=='i') ) {
						int LA18_21 = input.LA(5);
						if ( (LA18_21=='e') ) {
							int LA18_23 = input.LA(6);
							if ( (LA18_23=='f') ) {
								int LA18_24 = input.LA(7);
								if ( ((LA18_24 >= '\u0000' && LA18_24 <= '\b')||(LA18_24 >= '\u000B' && LA18_24 <= '\f')||(LA18_24 >= '\u000E' && LA18_24 <= '\u001F')||(LA18_24 >= '!' && LA18_24 <= '\uFFFF')) ) {
									alt18=5;
								}

								else {
									alt18=3;
								}

							}

							else {
								alt18=5;
							}

						}

						else {
							alt18=5;
						}

					}

					else {
						alt18=5;
					}

				}

				else {
					alt18=5;
				}

			}
			else if ( ((LA18_2 >= '\u0000' && LA18_2 <= '\b')||(LA18_2 >= '\u000B' && LA18_2 <= '\f')||(LA18_2 >= '\u000E' && LA18_2 <= '\u001F')||(LA18_2 >= '!' && LA18_2 <= 'a')||(LA18_2 >= 'c' && LA18_2 <= 'u')||(LA18_2 >= 'w' && LA18_2 <= '\uFFFF')) ) {
				alt18=5;
			}

			else {
				alt18=10;
			}

		}
		else if ( (LA18_0=='~') ) {
			int LA18_3 = input.LA(2);
			if ( (LA18_3=='~') ) {
				alt18=4;
			}

			else {
				alt18=10;
			}

		}
		else if ( (LA18_0=='<') ) {
			int LA18_4 = input.LA(2);
			if ( (LA18_4=='/') ) {
				alt18=7;
			}
			else if ( ((LA18_4 >= '\u0000' && LA18_4 <= '\b')||(LA18_4 >= '\u000B' && LA18_4 <= '\f')||(LA18_4 >= '\u000E' && LA18_4 <= '\u001F')||(LA18_4 >= '!' && LA18_4 <= '.')||(LA18_4 >= '0' && LA18_4 <= ';')||LA18_4=='='||(LA18_4 >= '?' && LA18_4 <= '\uFFFF')) ) {
				alt18=6;
			}

			else {
				alt18=10;
			}

		}
		else if ( (LA18_0=='\t'||LA18_0==' ') ) {
			alt18=8;
		}
		else if ( (LA18_0=='\r') ) {
			alt18=9;
		}
		else if ( (LA18_0=='\n') ) {
			alt18=9;
		}
		else if ( ((LA18_0 >= '\u0000' && LA18_0 <= '\b')||(LA18_0 >= '\u000B' && LA18_0 <= '\f')||(LA18_0 >= '\u000E' && LA18_0 <= '\u001F')||(LA18_0 >= '!' && LA18_0 <= '#')||(LA18_0 >= '%' && LA18_0 <= ';')||(LA18_0 >= '=' && LA18_0 <= '?')||(LA18_0 >= 'A' && LA18_0 <= '}')||(LA18_0 >= '\u007F' && LA18_0 <= '\uFFFF')) ) {
			alt18=10;
		}

		else {
			NoViableAltException nvae =
				new NoViableAltException("", 18, 0, input);
			throw nvae;
		}

		switch (alt18) {
			case 1 :
				// org/daisy/pipeline/css/sass/impl/Doxygen.g:1:10: DOLLAR
				{
				mDOLLAR(); 

				}
				break;
			case 2 :
				// org/daisy/pipeline/css/sass/impl/Doxygen.g:1:17: VAR
				{
				mVAR(); 

				}
				break;
			case 3 :
				// org/daisy/pipeline/css/sass/impl/Doxygen.g:1:21: BRIEF
				{
				mBRIEF(); 

				}
				break;
			case 4 :
				// org/daisy/pipeline/css/sass/impl/Doxygen.g:1:27: CODE_FENCE
				{
				mCODE_FENCE(); 

				}
				break;
			case 5 :
				// org/daisy/pipeline/css/sass/impl/Doxygen.g:1:38: AT_COMMAND
				{
				mAT_COMMAND(); 

				}
				break;
			case 6 :
				// org/daisy/pipeline/css/sass/impl/Doxygen.g:1:49: XML_COMMAND_OPEN
				{
				mXML_COMMAND_OPEN(); 

				}
				break;
			case 7 :
				// org/daisy/pipeline/css/sass/impl/Doxygen.g:1:66: XML_COMMAND_CLOSE
				{
				mXML_COMMAND_CLOSE(); 

				}
				break;
			case 8 :
				// org/daisy/pipeline/css/sass/impl/Doxygen.g:1:84: S
				{
				mS(); 

				}
				break;
			case 9 :
				// org/daisy/pipeline/css/sass/impl/Doxygen.g:1:86: EOL
				{
				mEOL(); 

				}
				break;
			case 10 :
				// org/daisy/pipeline/css/sass/impl/Doxygen.g:1:90: ANY
				{
				mANY(); 

				}
				break;

		}
	}


	protected DFA10 dfa10 = new DFA10(this);
	static final String DFA10_eotS =
		"\3\uffff\1\2\1\uffff";
	static final String DFA10_eofS =
		"\5\uffff";
	static final String DFA10_minS =
		"\1\11\1\0\1\uffff\1\0\1\uffff";
	static final String DFA10_maxS =
		"\1\76\1\uffff\1\uffff\1\uffff\1\uffff";
	static final String DFA10_acceptS =
		"\2\uffff\1\2\1\uffff\1\1";
	static final String DFA10_specialS =
		"\1\uffff\1\1\1\uffff\1\0\1\uffff}>";
	static final String[] DFA10_transitionS = {
			"\2\1\2\uffff\1\1\22\uffff\1\1\35\uffff\1\2",
			"\11\4\2\1\2\4\1\1\22\4\1\1\33\4\2\uffff\1\3\uffc1\4",
			"",
			"\74\4\1\uffff\uffc3\4",
			""
	};

	static final short[] DFA10_eot = DFA.unpackEncodedString(DFA10_eotS);
	static final short[] DFA10_eof = DFA.unpackEncodedString(DFA10_eofS);
	static final char[] DFA10_min = DFA.unpackEncodedStringToUnsignedChars(DFA10_minS);
	static final char[] DFA10_max = DFA.unpackEncodedStringToUnsignedChars(DFA10_maxS);
	static final short[] DFA10_accept = DFA.unpackEncodedString(DFA10_acceptS);
	static final short[] DFA10_special = DFA.unpackEncodedString(DFA10_specialS);
	static final short[][] DFA10_transition;

	static {
		int numStates = DFA10_transitionS.length;
		DFA10_transition = new short[numStates][];
		for (int i=0; i= '\u0000' && LA10_3 <= ';')||(LA10_3 >= '=' && LA10_3 <= '\uFFFF')) ) {s = 4;}
						else s = 2;
						if ( s>=0 ) return s;
						break;

					case 1 : 
						int LA10_1 = input.LA(1);
						s = -1;
						if ( (LA10_1=='>') ) {s = 3;}
						else if ( ((LA10_1 >= '\t' && LA10_1 <= '\n')||LA10_1=='\r'||LA10_1==' ') ) {s = 1;}
						else if ( ((LA10_1 >= '\u0000' && LA10_1 <= '\b')||(LA10_1 >= '\u000B' && LA10_1 <= '\f')||(LA10_1 >= '\u000E' && LA10_1 <= '\u001F')||(LA10_1 >= '!' && LA10_1 <= ';')||(LA10_1 >= '?' && LA10_1 <= '\uFFFF')) ) {s = 4;}
						if ( s>=0 ) return s;
						break;
			}
			NoViableAltException nvae =
				new NoViableAltException(getDescription(), 10, _s, input);
			error(nvae);
			throw nvae;
		}
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy