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

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

There is a newer version: 5.3.1
Show newest version
// $ANTLR 3.5.2 org/daisy/pipeline/css/sass/impl/SassDocumentation.g 2024-10-11 18:54:39
 package org.daisy.pipeline.css.sass.impl; 

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

@SuppressWarnings("all")
public class SassDocumentationLexer extends Lexer {
	public static final int EOF=-1;
	public static final int ANY=4;
	public static final int APOS=5;
	public static final int AT=6;
	public static final int BANG=7;
	public static final int COLON=8;
	public static final int COMMA=9;
	public static final int COMMENT=10;
	public static final int COMMENT_MACR=11;
	public static final int DEFAULT=12;
	public static final int DOLLAR=13;
	public static final int ESCAPE_CHAR=14;
	public static final int IDENT=15;
	public static final int IDENT_START=16;
	public static final int IMPORT=17;
	public static final int LCURLY=18;
	public static final int LINE_COMMENT=19;
	public static final int MEDIA=20;
	public static final int MINUS=21;
	public static final int NAME_CHAR=22;
	public static final int NEWLINE_CHAR=23;
	public static final int NON_ASCII=24;
	public static final int QUOT=25;
	public static final int RCURLY=26;
	public static final int S=27;
	public static final int SEMICOLON=28;
	public static final int SPACE_CHAR=29;
	public static final int STRING=30;
	public static final int STRING_CHAR=31;
	public static final int STRING_MACR=32;
	public static final int URI=33;
	public static final int URI_CHAR=34;
	public static final int URI_MACR=35;
	public static final int VAR_DECL=36;
	public static final int XML_COMMENT_CLOSE=37;
	public static final int XML_COMMENT_OPEN=38;

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

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

	// $ANTLR start "APOS"
	public final void mAPOS() throws RecognitionException {
		try {
			int _type = APOS;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:183:6: ( '\\'' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:183:8: '\\''
			{
			match('\''); if (state.failed) return;
			}

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

	// $ANTLR start "QUOT"
	public final void mQUOT() throws RecognitionException {
		try {
			int _type = QUOT;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:185:6: ( '\"' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:185:8: '\"'
			{
			match('\"'); if (state.failed) return;
			}

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

	// $ANTLR start "COLON"
	public final void mCOLON() throws RecognitionException {
		try {
			int _type = COLON;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:187:7: ( ':' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:187:9: ':'
			{
			match(':'); if (state.failed) return;
			}

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

	// $ANTLR start "SEMICOLON"
	public final void mSEMICOLON() throws RecognitionException {
		try {
			int _type = SEMICOLON;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:189:11: ( ';' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:189:13: ';'
			{
			match(';'); if (state.failed) return;
			}

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

	// $ANTLR start "COMMA"
	public final void mCOMMA() throws RecognitionException {
		try {
			int _type = COMMA;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:191:7: ( ',' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:191:9: ','
			{
			match(','); if (state.failed) return;
			}

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

	// $ANTLR start "LCURLY"
	public final void mLCURLY() throws RecognitionException {
		try {
			int _type = LCURLY;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:193:8: ( '{' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:193:10: '{'
			{
			match('{'); if (state.failed) return;
			}

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

	// $ANTLR start "RCURLY"
	public final void mRCURLY() throws RecognitionException {
		try {
			int _type = RCURLY;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:195:8: ( '}' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:195:10: '}'
			{
			match('}'); if (state.failed) return;
			}

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

	// $ANTLR start "MINUS"
	public final void mMINUS() throws RecognitionException {
		try {
			int _type = MINUS;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:197:7: ( '-' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:197:9: '-'
			{
			match('-'); if (state.failed) return;
			}

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

	// $ANTLR start "XML_COMMENT_OPEN"
	public final void mXML_COMMENT_OPEN() throws RecognitionException {
		try {
			int _type = XML_COMMENT_OPEN;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:199:18: ( '' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:201:21: '-->'
			{
			match("-->"); if (state.failed) return;

			}

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

	// $ANTLR start "AT"
	public final void mAT() throws RecognitionException {
		try {
			int _type = AT;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:204:5: ( '@' ( ( 'import' )=> 'import' | ( 'media' )=> 'media' )? )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:204:7: '@' ( ( 'import' )=> 'import' | ( 'media' )=> 'media' )?
			{
			match('@'); if (state.failed) return;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:205:5: ( ( 'import' )=> 'import' | ( 'media' )=> 'media' )?
			int alt1=3;
			int LA1_0 = input.LA(1);
			if ( (LA1_0=='i') && (synpred1_SassDocumentation())) {
				alt1=1;
			}
			else if ( (LA1_0=='m') && (synpred2_SassDocumentation())) {
				alt1=2;
			}
			switch (alt1) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:205:7: ( 'import' )=> 'import'
					{
					match("import"); if (state.failed) return;

					if ( state.backtracking==0 ) { _type = IMPORT; }
					}
					break;
				case 2 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:206:7: ( 'media' )=> 'media'
					{
					match("media"); if (state.failed) return;

					if ( state.backtracking==0 ) { _type = MEDIA; }
					}
					break;

			}

			}

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

	// $ANTLR start "BANG"
	public final void mBANG() throws RecognitionException {
		try {
			int _type = BANG;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:211:5: ( '!' ( ( 'default' )=> 'default' )? )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:211:7: '!' ( ( 'default' )=> 'default' )?
			{
			match('!'); if (state.failed) return;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:212:5: ( ( 'default' )=> 'default' )?
			int alt2=2;
			int LA2_0 = input.LA(1);
			if ( (LA2_0=='d') && (synpred3_SassDocumentation())) {
				alt2=1;
			}
			switch (alt2) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:212:7: ( 'default' )=> 'default'
					{
					match("default"); if (state.failed) return;

					if ( state.backtracking==0 ) { _type = DEFAULT; }
					}
					break;

			}

			}

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

	// $ANTLR start "DOLLAR"
	public final void mDOLLAR() throws RecognitionException {
		try {
			int _type = DOLLAR;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:217:5: ( '$' ( '-' )? IDENT_START ( NAME_CHAR )* ( SPACE_CHAR )* ( ( COLON )=> COLON )? )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:217:7: '$' ( '-' )? IDENT_START ( NAME_CHAR )* ( SPACE_CHAR )* ( ( COLON )=> COLON )?
			{
			match('$'); if (state.failed) return;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:217:11: ( '-' )?
			int alt3=2;
			int LA3_0 = input.LA(1);
			if ( (LA3_0=='-') ) {
				alt3=1;
			}
			switch (alt3) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:217:11: '-'
					{
					match('-'); if (state.failed) return;
					}
					break;

			}

			mIDENT_START(); if (state.failed) return;

			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:217:28: ( NAME_CHAR )*
			loop4:
			while (true) {
				int alt4=2;
				int LA4_0 = input.LA(1);
				if ( (LA4_0=='-'||(LA4_0 >= '0' && LA4_0 <= '9')||(LA4_0 >= 'A' && LA4_0 <= 'Z')||LA4_0=='\\'||LA4_0=='_'||(LA4_0 >= 'a' && LA4_0 <= 'z')||(LA4_0 >= '\u0080' && LA4_0 <= '\uD7FF')||(LA4_0 >= '\uE000' && LA4_0 <= '\uFFFD')) ) {
					alt4=1;
				}

				switch (alt4) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:217:28: NAME_CHAR
					{
					mNAME_CHAR(); if (state.failed) return;

					}
					break;

				default :
					break loop4;
				}
			}

			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:217:39: ( SPACE_CHAR )*
			loop5:
			while (true) {
				int alt5=2;
				int LA5_0 = input.LA(1);
				if ( ((LA5_0 >= '\t' && LA5_0 <= '\r')||LA5_0==' ') ) {
					alt5=1;
				}

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

				default :
					break loop5;
				}
			}

			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:218:5: ( ( COLON )=> COLON )?
			int alt6=2;
			int LA6_0 = input.LA(1);
			if ( (LA6_0==':') && (synpred4_SassDocumentation())) {
				alt6=1;
			}
			switch (alt6) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:218:7: ( COLON )=> COLON
					{
					mCOLON(); if (state.failed) return;

					if ( state.backtracking==0 ) { _type = VAR_DECL; }
					}
					break;

			}

			}

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

	// $ANTLR start "IDENT"
	public final void mIDENT() throws RecognitionException {
		try {
			int _type = IDENT;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:223:5: ( IDENT_START ( NAME_CHAR )* )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:223:7: IDENT_START ( NAME_CHAR )*
			{
			mIDENT_START(); if (state.failed) return;

			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:223:19: ( NAME_CHAR )*
			loop7:
			while (true) {
				int alt7=2;
				int LA7_0 = input.LA(1);
				if ( (LA7_0=='-'||(LA7_0 >= '0' && LA7_0 <= '9')||(LA7_0 >= 'A' && LA7_0 <= 'Z')||LA7_0=='\\'||LA7_0=='_'||(LA7_0 >= 'a' && LA7_0 <= 'z')||(LA7_0 >= '\u0080' && LA7_0 <= '\uD7FF')||(LA7_0 >= '\uE000' && LA7_0 <= '\uFFFD')) ) {
					alt7=1;
				}

				switch (alt7) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:223:19: NAME_CHAR
					{
					mNAME_CHAR(); if (state.failed) return;

					}
					break;

				default :
					break loop7;
				}
			}

			}

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

	// $ANTLR start "STRING"
	public final void mSTRING() throws RecognitionException {
		try {
			int _type = STRING;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:227:5: ( STRING_MACR )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:227:7: STRING_MACR
			{
			mSTRING_MACR(); if (state.failed) return;

			}

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

	// $ANTLR start "URI"
	public final void mURI() throws RecognitionException {
		try {
			int _type = URI;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:231:5: ( 'url(' ( SPACE_CHAR )* ( STRING_MACR | URI_MACR ) ( SPACE_CHAR )* ')' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:231:7: 'url(' ( SPACE_CHAR )* ( STRING_MACR | URI_MACR ) ( SPACE_CHAR )* ')'
			{
			match("url("); if (state.failed) return;

			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:231:14: ( SPACE_CHAR )*
			loop8:
			while (true) {
				int alt8=2;
				int LA8_0 = input.LA(1);
				if ( ((LA8_0 >= '\t' && LA8_0 <= '\r')||LA8_0==' ') ) {
					alt8=1;
				}

				switch (alt8) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:
					{
					if ( (input.LA(1) >= '\t' && input.LA(1) <= '\r')||input.LA(1)==' ' ) {
						input.consume();
						state.failed=false;
					}
					else {
						if (state.backtracking>0) {state.failed=true; return;}
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					break loop8;
				}
			}

			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:231:26: ( STRING_MACR | URI_MACR )
			int alt9=2;
			int LA9_0 = input.LA(1);
			if ( (LA9_0=='\"'||LA9_0=='\'') ) {
				alt9=1;
			}
			else if ( (LA9_0=='!'||(LA9_0 >= '#' && LA9_0 <= '&')||(LA9_0 >= '*' && LA9_0 <= '~')||(LA9_0 >= '\u0080' && LA9_0 <= '\uD7FF')||(LA9_0 >= '\uE000' && LA9_0 <= '\uFFFD')) ) {
				alt9=2;
			}

			else {
				if (state.backtracking>0) {state.failed=true; return;}
				NoViableAltException nvae =
					new NoViableAltException("", 9, 0, input);
				throw nvae;
			}

			switch (alt9) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:231:27: STRING_MACR
					{
					mSTRING_MACR(); if (state.failed) return;

					}
					break;
				case 2 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:231:41: URI_MACR
					{
					mURI_MACR(); if (state.failed) return;

					}
					break;

			}

			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:231:51: ( SPACE_CHAR )*
			loop10:
			while (true) {
				int alt10=2;
				int LA10_0 = input.LA(1);
				if ( ((LA10_0 >= '\t' && LA10_0 <= '\r')||LA10_0==' ') ) {
					alt10=1;
				}

				switch (alt10) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:
					{
					if ( (input.LA(1) >= '\t' && input.LA(1) <= '\r')||input.LA(1)==' ' ) {
						input.consume();
						state.failed=false;
					}
					else {
						if (state.backtracking>0) {state.failed=true; return;}
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					break loop10;
				}
			}

			match(')'); if (state.failed) return;
			}

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

	// $ANTLR start "COMMENT"
	public final void mCOMMENT() throws RecognitionException {
		try {
			int _type = COMMENT;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:235:5: ( COMMENT_MACR )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:235:7: COMMENT_MACR
			{
			mCOMMENT_MACR(); if (state.failed) return;

			}

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

	// $ANTLR start "LINE_COMMENT"
	public final void mLINE_COMMENT() throws RecognitionException {
		try {
			int _type = LINE_COMMENT;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:240:5: ( '//' (~ ( '\\r' | '\\n' ) )* )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:240:7: '//' (~ ( '\\r' | '\\n' ) )*
			{
			match("//"); if (state.failed) return;

			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:240:12: (~ ( '\\r' | '\\n' ) )*
			loop11:
			while (true) {
				int alt11=2;
				int LA11_0 = input.LA(1);
				if ( ((LA11_0 >= '\u0000' && LA11_0 <= '\t')||(LA11_0 >= '\u000B' && LA11_0 <= '\f')||(LA11_0 >= '\u000E' && LA11_0 <= '\uFFFF')) ) {
					alt11=1;
				}

				switch (alt11) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:
					{
					if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '\t')||(input.LA(1) >= '\u000B' && input.LA(1) <= '\f')||(input.LA(1) >= '\u000E' && input.LA(1) <= '\uFFFF') ) {
						input.consume();
						state.failed=false;
					}
					else {
						if (state.backtracking>0) {state.failed=true; return;}
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					break loop11;
				}
			}

			}

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

	// $ANTLR start "S"
	public final void mS() throws RecognitionException {
		try {
			int _type = S;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:244:5: ( ( SPACE_CHAR )+ )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:244:7: ( SPACE_CHAR )+
			{
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:244:7: ( SPACE_CHAR )+
			int cnt12=0;
			loop12:
			while (true) {
				int alt12=2;
				int LA12_0 = input.LA(1);
				if ( ((LA12_0 >= '\t' && LA12_0 <= '\r')||LA12_0==' ') ) {
					alt12=1;
				}

				switch (alt12) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:
					{
					if ( (input.LA(1) >= '\t' && input.LA(1) <= '\r')||input.LA(1)==' ' ) {
						input.consume();
						state.failed=false;
					}
					else {
						if (state.backtracking>0) {state.failed=true; return;}
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					if ( cnt12 >= 1 ) break loop12;
					if (state.backtracking>0) {state.failed=true; return;}
					EarlyExitException eee = new EarlyExitException(12, input);
					throw eee;
				}
				cnt12++;
			}

			}

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

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

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

	// $ANTLR start "DEFAULT"
	public final void mDEFAULT() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:254:18: ()
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:254:20: 
			{
			}

		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "DEFAULT"

	// $ANTLR start "IMPORT"
	public final void mIMPORT() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:255:17: ()
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:255:19: 
			{
			}

		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "IMPORT"

	// $ANTLR start "MEDIA"
	public final void mMEDIA() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:256:16: ()
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:256:18: 
			{
			}

		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "MEDIA"

	// $ANTLR start "VAR_DECL"
	public final void mVAR_DECL() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:257:19: ()
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:257:21: 
			{
			}

		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "VAR_DECL"

	// $ANTLR start "IDENT_START"
	public final void mIDENT_START() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:262:5: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' | NON_ASCII | ESCAPE_CHAR ) )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:262:7: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | NON_ASCII | ESCAPE_CHAR )
			{
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:262:7: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | NON_ASCII | ESCAPE_CHAR )
			int alt13=5;
			int LA13_0 = input.LA(1);
			if ( ((LA13_0 >= 'a' && LA13_0 <= 'z')) ) {
				alt13=1;
			}
			else if ( ((LA13_0 >= 'A' && LA13_0 <= 'Z')) ) {
				alt13=2;
			}
			else if ( (LA13_0=='_') ) {
				alt13=3;
			}
			else if ( ((LA13_0 >= '\u0080' && LA13_0 <= '\uD7FF')||(LA13_0 >= '\uE000' && LA13_0 <= '\uFFFD')) ) {
				alt13=4;
			}
			else if ( (LA13_0=='\\') ) {
				alt13=5;
			}

			else {
				if (state.backtracking>0) {state.failed=true; return;}
				NoViableAltException nvae =
					new NoViableAltException("", 13, 0, input);
				throw nvae;
			}

			switch (alt13) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:262:8: 'a' .. 'z'
					{
					matchRange('a','z'); if (state.failed) return;
					}
					break;
				case 2 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:262:19: 'A' .. 'Z'
					{
					matchRange('A','Z'); if (state.failed) return;
					}
					break;
				case 3 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:262:30: '_'
					{
					match('_'); if (state.failed) return;
					}
					break;
				case 4 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:262:36: NON_ASCII
					{
					mNON_ASCII(); if (state.failed) return;

					}
					break;
				case 5 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:262:48: ESCAPE_CHAR
					{
					mESCAPE_CHAR(); if (state.failed) return;

					}
					break;

			}

			}

		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "IDENT_START"

	// $ANTLR start "NAME_CHAR"
	public final void mNAME_CHAR() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:267:5: ( IDENT_START | '0' .. '9' | '-' )
			int alt14=3;
			int LA14_0 = input.LA(1);
			if ( ((LA14_0 >= 'A' && LA14_0 <= 'Z')||LA14_0=='\\'||LA14_0=='_'||(LA14_0 >= 'a' && LA14_0 <= 'z')||(LA14_0 >= '\u0080' && LA14_0 <= '\uD7FF')||(LA14_0 >= '\uE000' && LA14_0 <= '\uFFFD')) ) {
				alt14=1;
			}
			else if ( ((LA14_0 >= '0' && LA14_0 <= '9')) ) {
				alt14=2;
			}
			else if ( (LA14_0=='-') ) {
				alt14=3;
			}

			else {
				if (state.backtracking>0) {state.failed=true; return;}
				NoViableAltException nvae =
					new NoViableAltException("", 14, 0, input);
				throw nvae;
			}

			switch (alt14) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:267:7: IDENT_START
					{
					mIDENT_START(); if (state.failed) return;

					}
					break;
				case 2 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:267:21: '0' .. '9'
					{
					matchRange('0','9'); if (state.failed) return;
					}
					break;
				case 3 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:267:32: '-'
					{
					match('-'); if (state.failed) return;
					}
					break;

			}
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "NAME_CHAR"

	// $ANTLR start "STRING_MACR"
	public final void mSTRING_MACR() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:272:5: ( QUOT ( STRING_CHAR | APOS )* QUOT | APOS ( STRING_CHAR | QUOT )* APOS )
			int alt17=2;
			int LA17_0 = input.LA(1);
			if ( (LA17_0=='\"') ) {
				alt17=1;
			}
			else if ( (LA17_0=='\'') ) {
				alt17=2;
			}

			else {
				if (state.backtracking>0) {state.failed=true; return;}
				NoViableAltException nvae =
					new NoViableAltException("", 17, 0, input);
				throw nvae;
			}

			switch (alt17) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:272:7: QUOT ( STRING_CHAR | APOS )* QUOT
					{
					mQUOT(); if (state.failed) return;

					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:272:12: ( STRING_CHAR | APOS )*
					loop15:
					while (true) {
						int alt15=3;
						int LA15_0 = input.LA(1);
						if ( (LA15_0=='\t'||(LA15_0 >= ' ' && LA15_0 <= '!')||(LA15_0 >= '#' && LA15_0 <= '&')||(LA15_0 >= '(' && LA15_0 <= '~')||(LA15_0 >= '\u0080' && LA15_0 <= '\uD7FF')||(LA15_0 >= '\uE000' && LA15_0 <= '\uFFFD')) ) {
							alt15=1;
						}
						else if ( (LA15_0=='\'') ) {
							alt15=2;
						}

						switch (alt15) {
						case 1 :
							// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:272:13: STRING_CHAR
							{
							mSTRING_CHAR(); if (state.failed) return;

							}
							break;
						case 2 :
							// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:272:25: APOS
							{
							mAPOS(); if (state.failed) return;

							}
							break;

						default :
							break loop15;
						}
					}

					mQUOT(); if (state.failed) return;

					}
					break;
				case 2 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:273:7: APOS ( STRING_CHAR | QUOT )* APOS
					{
					mAPOS(); if (state.failed) return;

					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:273:12: ( STRING_CHAR | QUOT )*
					loop16:
					while (true) {
						int alt16=3;
						int LA16_0 = input.LA(1);
						if ( (LA16_0=='\t'||(LA16_0 >= ' ' && LA16_0 <= '!')||(LA16_0 >= '#' && LA16_0 <= '&')||(LA16_0 >= '(' && LA16_0 <= '~')||(LA16_0 >= '\u0080' && LA16_0 <= '\uD7FF')||(LA16_0 >= '\uE000' && LA16_0 <= '\uFFFD')) ) {
							alt16=1;
						}
						else if ( (LA16_0=='\"') ) {
							alt16=2;
						}

						switch (alt16) {
						case 1 :
							// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:273:13: STRING_CHAR
							{
							mSTRING_CHAR(); if (state.failed) return;

							}
							break;
						case 2 :
							// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:273:25: QUOT
							{
							mQUOT(); if (state.failed) return;

							}
							break;

						default :
							break loop16;
						}
					}

					mAPOS(); if (state.failed) return;

					}
					break;

			}
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "STRING_MACR"

	// $ANTLR start "STRING_CHAR"
	public final void mSTRING_CHAR() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:278:5: ( ESCAPE_CHAR | '\\\\' NEWLINE_CHAR | '\\u0009' | '\\u0020' .. '\\u0021' | '\\u0023' .. '\\u0026' | '\\u0028' .. '\\u007E' | NON_ASCII )
			int alt18=7;
			int LA18_0 = input.LA(1);
			if ( (LA18_0=='\\') ) {
				int LA18_1 = input.LA(2);
				if ( ((LA18_1 >= ' ' && LA18_1 <= '~')||(LA18_1 >= '\u0080' && LA18_1 <= '\uD7FF')||(LA18_1 >= '\uE000' && LA18_1 <= '\uFFFD')) ) {
					alt18=1;
				}
				else if ( (LA18_1=='\n'||(LA18_1 >= '\f' && LA18_1 <= '\r')) ) {
					alt18=2;
				}

				else {
					alt18=6;
				}

			}
			else if ( (LA18_0=='\t') ) {
				alt18=3;
			}
			else if ( ((LA18_0 >= ' ' && LA18_0 <= '!')) ) {
				alt18=4;
			}
			else if ( ((LA18_0 >= '#' && LA18_0 <= '&')) ) {
				alt18=5;
			}
			else if ( ((LA18_0 >= '(' && LA18_0 <= '[')||(LA18_0 >= ']' && LA18_0 <= '~')) ) {
				alt18=6;
			}
			else if ( ((LA18_0 >= '\u0080' && LA18_0 <= '\uD7FF')||(LA18_0 >= '\uE000' && LA18_0 <= '\uFFFD')) ) {
				alt18=7;
			}

			else {
				if (state.backtracking>0) {state.failed=true; return;}
				NoViableAltException nvae =
					new NoViableAltException("", 18, 0, input);
				throw nvae;
			}

			switch (alt18) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:278:7: ESCAPE_CHAR
					{
					mESCAPE_CHAR(); if (state.failed) return;

					}
					break;
				case 2 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:279:7: '\\\\' NEWLINE_CHAR
					{
					match('\\'); if (state.failed) return;
					mNEWLINE_CHAR(); if (state.failed) return;

					}
					break;
				case 3 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:280:7: '\\u0009'
					{
					match('\t'); if (state.failed) return;
					}
					break;
				case 4 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:281:7: '\\u0020' .. '\\u0021'
					{
					matchRange(' ','!'); if (state.failed) return;
					}
					break;
				case 5 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:283:7: '\\u0023' .. '\\u0026'
					{
					matchRange('#','&'); if (state.failed) return;
					}
					break;
				case 6 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:285:7: '\\u0028' .. '\\u007E'
					{
					matchRange('(','~'); if (state.failed) return;
					}
					break;
				case 7 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:286:7: NON_ASCII
					{
					mNON_ASCII(); if (state.failed) return;

					}
					break;

			}
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "STRING_CHAR"

	// $ANTLR start "URI_MACR"
	public final void mURI_MACR() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:291:5: ( ( URI_CHAR )+ )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:291:7: ( URI_CHAR )+
			{
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:291:7: ( URI_CHAR )+
			int cnt19=0;
			loop19:
			while (true) {
				int alt19=2;
				int LA19_0 = input.LA(1);
				if ( (LA19_0=='!'||(LA19_0 >= '#' && LA19_0 <= '&')||(LA19_0 >= '*' && LA19_0 <= '~')||(LA19_0 >= '\u0080' && LA19_0 <= '\uD7FF')||(LA19_0 >= '\uE000' && LA19_0 <= '\uFFFD')) ) {
					alt19=1;
				}

				switch (alt19) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:291:7: URI_CHAR
					{
					mURI_CHAR(); if (state.failed) return;

					}
					break;

				default :
					if ( cnt19 >= 1 ) break loop19;
					if (state.backtracking>0) {state.failed=true; return;}
					EarlyExitException eee = new EarlyExitException(19, input);
					throw eee;
				}
				cnt19++;
			}

			}

		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "URI_MACR"

	// $ANTLR start "URI_CHAR"
	public final void mURI_CHAR() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:296:5: ( ESCAPE_CHAR | '\\u0021' | '\\u0023' .. '\\u0026' | '\\u002A' .. '\\u007E' | NON_ASCII )
			int alt20=5;
			int LA20_0 = input.LA(1);
			if ( (LA20_0=='\\') ) {
				int LA20_1 = input.LA(2);
				if ( ((LA20_1 >= ' ' && LA20_1 <= '~')||(LA20_1 >= '\u0080' && LA20_1 <= '\uD7FF')||(LA20_1 >= '\uE000' && LA20_1 <= '\uFFFD')) ) {
					alt20=1;
				}

				else {
					alt20=4;
				}

			}
			else if ( (LA20_0=='!') ) {
				alt20=2;
			}
			else if ( ((LA20_0 >= '#' && LA20_0 <= '&')) ) {
				alt20=3;
			}
			else if ( ((LA20_0 >= '*' && LA20_0 <= '[')||(LA20_0 >= ']' && LA20_0 <= '~')) ) {
				alt20=4;
			}
			else if ( ((LA20_0 >= '\u0080' && LA20_0 <= '\uD7FF')||(LA20_0 >= '\uE000' && LA20_0 <= '\uFFFD')) ) {
				alt20=5;
			}

			else {
				if (state.backtracking>0) {state.failed=true; return;}
				NoViableAltException nvae =
					new NoViableAltException("", 20, 0, input);
				throw nvae;
			}

			switch (alt20) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:296:7: ESCAPE_CHAR
					{
					mESCAPE_CHAR(); if (state.failed) return;

					}
					break;
				case 2 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:297:7: '\\u0021'
					{
					match('!'); if (state.failed) return;
					}
					break;
				case 3 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:299:7: '\\u0023' .. '\\u0026'
					{
					matchRange('#','&'); if (state.failed) return;
					}
					break;
				case 4 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:303:7: '\\u002A' .. '\\u007E'
					{
					matchRange('*','~'); if (state.failed) return;
					}
					break;
				case 5 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:304:7: NON_ASCII
					{
					mNON_ASCII(); if (state.failed) return;

					}
					break;

			}
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "URI_CHAR"

	// $ANTLR start "NON_ASCII"
	public final void mNON_ASCII() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:309:5: ( '\\u0080' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:
			{
			if ( (input.LA(1) >= '\u0080' && input.LA(1) <= '\uD7FF')||(input.LA(1) >= '\uE000' && input.LA(1) <= '\uFFFD') ) {
				input.consume();
				state.failed=false;
			}
			else {
				if (state.backtracking>0) {state.failed=true; return;}
				MismatchedSetException mse = new MismatchedSetException(null,input);
				recover(mse);
				throw mse;
			}
			}

		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "NON_ASCII"

	// $ANTLR start "ESCAPE_CHAR"
	public final void mESCAPE_CHAR() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:314:5: ( '\\\\' ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | '\\u0020' .. '\\u002F' | '\\u003A' .. '\\u0040' | '\\u0047' .. '\\u0060' | '\\u0067' .. '\\u007E' | '\\u0080' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' ) )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:314:7: '\\\\' ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | '\\u0020' .. '\\u002F' | '\\u003A' .. '\\u0040' | '\\u0047' .. '\\u0060' | '\\u0067' .. '\\u007E' | '\\u0080' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )
			{
			match('\\'); if (state.failed) return;
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:314:12: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | '\\u0020' .. '\\u002F' | '\\u003A' .. '\\u0040' | '\\u0047' .. '\\u0060' | '\\u0067' .. '\\u007E' | '\\u0080' .. '\\uD7FF' | '\\uE000' .. '\\uFFFD' )
			int alt22=7;
			int LA22_0 = input.LA(1);
			if ( ((LA22_0 >= '0' && LA22_0 <= '9')||(LA22_0 >= 'A' && LA22_0 <= 'F')||(LA22_0 >= 'a' && LA22_0 <= 'f')) ) {
				alt22=1;
			}
			else if ( ((LA22_0 >= ' ' && LA22_0 <= '/')) ) {
				alt22=2;
			}
			else if ( ((LA22_0 >= ':' && LA22_0 <= '@')) ) {
				alt22=3;
			}
			else if ( ((LA22_0 >= 'G' && LA22_0 <= '`')) ) {
				alt22=4;
			}
			else if ( ((LA22_0 >= 'g' && LA22_0 <= '~')) ) {
				alt22=5;
			}
			else if ( ((LA22_0 >= '\u0080' && LA22_0 <= '\uD7FF')) ) {
				alt22=6;
			}
			else if ( ((LA22_0 >= '\uE000' && LA22_0 <= '\uFFFD')) ) {
				alt22=7;
			}

			else {
				if (state.backtracking>0) {state.failed=true; return;}
				NoViableAltException nvae =
					new NoViableAltException("", 22, 0, input);
				throw nvae;
			}

			switch (alt22) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:315:9: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
					{
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:315:9: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
					int cnt21=0;
					loop21:
					while (true) {
						int alt21=2;
						int LA21_0 = input.LA(1);
						if ( ((LA21_0 >= '0' && LA21_0 <= '9')||(LA21_0 >= 'A' && LA21_0 <= 'F')||(LA21_0 >= 'a' && LA21_0 <= 'f')) ) {
							alt21=1;
						}

						switch (alt21) {
						case 1 :
							// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:
							{
							if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'F')||(input.LA(1) >= 'a' && input.LA(1) <= 'f') ) {
								input.consume();
								state.failed=false;
							}
							else {
								if (state.backtracking>0) {state.failed=true; return;}
								MismatchedSetException mse = new MismatchedSetException(null,input);
								recover(mse);
								throw mse;
							}
							}
							break;

						default :
							if ( cnt21 >= 1 ) break loop21;
							if (state.backtracking>0) {state.failed=true; return;}
							EarlyExitException eee = new EarlyExitException(21, input);
							throw eee;
						}
						cnt21++;
					}

					}
					break;
				case 2 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:316:11: '\\u0020' .. '\\u002F'
					{
					matchRange(' ','/'); if (state.failed) return;
					}
					break;
				case 3 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:317:11: '\\u003A' .. '\\u0040'
					{
					matchRange(':','@'); if (state.failed) return;
					}
					break;
				case 4 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:318:11: '\\u0047' .. '\\u0060'
					{
					matchRange('G','`'); if (state.failed) return;
					}
					break;
				case 5 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:319:11: '\\u0067' .. '\\u007E'
					{
					matchRange('g','~'); if (state.failed) return;
					}
					break;
				case 6 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:320:11: '\\u0080' .. '\\uD7FF'
					{
					matchRange('\u0080','\uD7FF'); if (state.failed) return;
					}
					break;
				case 7 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:321:11: '\\uE000' .. '\\uFFFD'
					{
					matchRange('\uE000','\uFFFD'); if (state.failed) return;
					}
					break;

			}

			}

		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "ESCAPE_CHAR"

	// $ANTLR start "NEWLINE_CHAR"
	public final void mNEWLINE_CHAR() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:327:5: ( '\\u000A' | '\\u000D' '\\u000A' | '\\u000D' | '\\u000C' )
			int alt23=4;
			switch ( input.LA(1) ) {
			case '\n':
				{
				alt23=1;
				}
				break;
			case '\r':
				{
				int LA23_2 = input.LA(2);
				if ( (LA23_2=='\n') ) {
					alt23=2;
				}

				else {
					alt23=3;
				}

				}
				break;
			case '\f':
				{
				alt23=4;
				}
				break;
			default:
				if (state.backtracking>0) {state.failed=true; return;}
				NoViableAltException nvae =
					new NoViableAltException("", 23, 0, input);
				throw nvae;
			}
			switch (alt23) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:327:7: '\\u000A'
					{
					match('\n'); if (state.failed) return;
					}
					break;
				case 2 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:328:7: '\\u000D' '\\u000A'
					{
					match('\r'); if (state.failed) return;
					match('\n'); if (state.failed) return;
					}
					break;
				case 3 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:329:7: '\\u000D'
					{
					match('\r'); if (state.failed) return;
					}
					break;
				case 4 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:330:7: '\\u000C'
					{
					match('\f'); if (state.failed) return;
					}
					break;

			}
		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "NEWLINE_CHAR"

	// $ANTLR start "SPACE_CHAR"
	public final void mSPACE_CHAR() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:335:5: ( '\\u0009' | '\\u000A' | '\\u000B' | '\\u000C' | '\\u000D' | '\\u0020' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:
			{
			if ( (input.LA(1) >= '\t' && input.LA(1) <= '\r')||input.LA(1)==' ' ) {
				input.consume();
				state.failed=false;
			}
			else {
				if (state.backtracking>0) {state.failed=true; return;}
				MismatchedSetException mse = new MismatchedSetException(null,input);
				recover(mse);
				throw mse;
			}
			}

		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "SPACE_CHAR"

	// $ANTLR start "COMMENT_MACR"
	public final void mCOMMENT_MACR() throws RecognitionException {
		try {
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:345:5: ( '/*' ( '*' ~ '/' |~ '*' )* '*/' )
			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:345:7: '/*' ( '*' ~ '/' |~ '*' )* '*/'
			{
			match("/*"); if (state.failed) return;

			// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:345:12: ( '*' ~ '/' |~ '*' )*
			loop24:
			while (true) {
				int alt24=3;
				int LA24_0 = input.LA(1);
				if ( (LA24_0=='*') ) {
					int LA24_1 = input.LA(2);
					if ( ((LA24_1 >= '\u0000' && LA24_1 <= '.')||(LA24_1 >= '0' && LA24_1 <= '\uFFFF')) ) {
						alt24=1;
					}

				}
				else if ( ((LA24_0 >= '\u0000' && LA24_0 <= ')')||(LA24_0 >= '+' && LA24_0 <= '\uFFFF')) ) {
					alt24=2;
				}

				switch (alt24) {
				case 1 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:345:13: '*' ~ '/'
					{
					match('*'); if (state.failed) return;
					if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '.')||(input.LA(1) >= '0' && input.LA(1) <= '\uFFFF') ) {
						input.consume();
						state.failed=false;
					}
					else {
						if (state.backtracking>0) {state.failed=true; return;}
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;
				case 2 :
					// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:345:21: ~ '*'
					{
					if ( (input.LA(1) >= '\u0000' && input.LA(1) <= ')')||(input.LA(1) >= '+' && input.LA(1) <= '\uFFFF') ) {
						input.consume();
						state.failed=false;
					}
					else {
						if (state.backtracking>0) {state.failed=true; return;}
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					break loop24;
				}
			}

			match("*/"); if (state.failed) return;

			}

		}
		finally {
			// do for sure before leaving
		}
	}
	// $ANTLR end "COMMENT_MACR"

	@Override
	public void mTokens() throws RecognitionException {
		// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:8: ( APOS | QUOT | COLON | SEMICOLON | COMMA | LCURLY | RCURLY | MINUS | XML_COMMENT_OPEN | XML_COMMENT_CLOSE | AT | BANG | DOLLAR | IDENT | STRING | URI | COMMENT | LINE_COMMENT | S | ANY )
		int alt25=20;
		int LA25_0 = input.LA(1);
		if ( (LA25_0=='\'') ) {
			int LA25_1 = input.LA(2);
			if ( (LA25_1=='\t'||(LA25_1 >= ' ' && LA25_1 <= '~')||(LA25_1 >= '\u0080' && LA25_1 <= '\uD7FF')||(LA25_1 >= '\uE000' && LA25_1 <= '\uFFFD')) ) {
				alt25=15;
			}

			else {
				alt25=1;
			}

		}
		else if ( (LA25_0=='\"') ) {
			int LA25_2 = input.LA(2);
			if ( (LA25_2=='\t'||(LA25_2 >= ' ' && LA25_2 <= '~')||(LA25_2 >= '\u0080' && LA25_2 <= '\uD7FF')||(LA25_2 >= '\uE000' && LA25_2 <= '\uFFFD')) ) {
				alt25=15;
			}

			else {
				alt25=2;
			}

		}
		else if ( (LA25_0==':') ) {
			alt25=3;
		}
		else if ( (LA25_0==';') ) {
			alt25=4;
		}
		else if ( (LA25_0==',') ) {
			alt25=5;
		}
		else if ( (LA25_0=='{') ) {
			alt25=6;
		}
		else if ( (LA25_0=='}') ) {
			alt25=7;
		}
		else if ( (LA25_0=='-') ) {
			int LA25_8 = input.LA(2);
			if ( (LA25_8=='-') ) {
				alt25=10;
			}

			else {
				alt25=8;
			}

		}
		else if ( (LA25_0=='<') ) {
			int LA25_9 = input.LA(2);
			if ( (LA25_9=='!') ) {
				alt25=9;
			}

			else {
				alt25=20;
			}

		}
		else if ( (LA25_0=='@') ) {
			alt25=11;
		}
		else if ( (LA25_0=='!') ) {
			alt25=12;
		}
		else if ( (LA25_0=='$') ) {
			int LA25_12 = input.LA(2);
			if ( (LA25_12=='-'||(LA25_12 >= 'A' && LA25_12 <= 'Z')||LA25_12=='\\'||LA25_12=='_'||(LA25_12 >= 'a' && LA25_12 <= 'z')||(LA25_12 >= '\u0080' && LA25_12 <= '\uD7FF')||(LA25_12 >= '\uE000' && LA25_12 <= '\uFFFD')) ) {
				alt25=13;
			}

			else {
				alt25=20;
			}

		}
		else if ( (LA25_0=='u') ) {
			int LA25_13 = input.LA(2);
			if ( (LA25_13=='r') ) {
				int LA25_36 = input.LA(3);
				if ( (LA25_36=='l') ) {
					int LA25_41 = input.LA(4);
					if ( (LA25_41=='(') ) {
						alt25=16;
					}

					else {
						alt25=14;
					}

				}

				else {
					alt25=14;
				}

			}

			else {
				alt25=14;
			}

		}
		else if ( ((LA25_0 >= 'A' && LA25_0 <= 'Z')) ) {
			alt25=14;
		}
		else if ( (LA25_0=='_') ) {
			alt25=14;
		}
		else if ( ((LA25_0 >= '\u0080' && LA25_0 <= '\uD7FF')||(LA25_0 >= '\uE000' && LA25_0 <= '\uFFFD')) ) {
			alt25=14;
		}
		else if ( (LA25_0=='\\') ) {
			int LA25_17 = input.LA(2);
			if ( ((LA25_17 >= ' ' && LA25_17 <= '~')||(LA25_17 >= '\u0080' && LA25_17 <= '\uD7FF')||(LA25_17 >= '\uE000' && LA25_17 <= '\uFFFD')) ) {
				alt25=14;
			}

			else {
				alt25=20;
			}

		}
		else if ( ((LA25_0 >= 'a' && LA25_0 <= 't')||(LA25_0 >= 'v' && LA25_0 <= 'z')) ) {
			alt25=14;
		}
		else if ( (LA25_0=='/') ) {
			switch ( input.LA(2) ) {
			case '*':
				{
				alt25=17;
				}
				break;
			case '/':
				{
				alt25=18;
				}
				break;
			default:
				alt25=20;
			}
		}
		else if ( ((LA25_0 >= '\t' && LA25_0 <= '\r')||LA25_0==' ') ) {
			alt25=19;
		}
		else if ( ((LA25_0 >= '\u0000' && LA25_0 <= '\b')||(LA25_0 >= '\u000E' && LA25_0 <= '\u001F')||LA25_0=='#'||(LA25_0 >= '%' && LA25_0 <= '&')||(LA25_0 >= '(' && LA25_0 <= '+')||LA25_0=='.'||(LA25_0 >= '0' && LA25_0 <= '9')||(LA25_0 >= '=' && LA25_0 <= '?')||LA25_0=='['||(LA25_0 >= ']' && LA25_0 <= '^')||LA25_0=='`'||LA25_0=='|'||(LA25_0 >= '~' && LA25_0 <= '\u007F')||(LA25_0 >= '\uD800' && LA25_0 <= '\uDFFF')||(LA25_0 >= '\uFFFE' && LA25_0 <= '\uFFFF')) ) {
			alt25=20;
		}

		else {
			if (state.backtracking>0) {state.failed=true; return;}
			NoViableAltException nvae =
				new NoViableAltException("", 25, 0, input);
			throw nvae;
		}

		switch (alt25) {
			case 1 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:10: APOS
				{
				mAPOS(); if (state.failed) return;

				}
				break;
			case 2 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:15: QUOT
				{
				mQUOT(); if (state.failed) return;

				}
				break;
			case 3 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:20: COLON
				{
				mCOLON(); if (state.failed) return;

				}
				break;
			case 4 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:26: SEMICOLON
				{
				mSEMICOLON(); if (state.failed) return;

				}
				break;
			case 5 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:36: COMMA
				{
				mCOMMA(); if (state.failed) return;

				}
				break;
			case 6 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:42: LCURLY
				{
				mLCURLY(); if (state.failed) return;

				}
				break;
			case 7 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:49: RCURLY
				{
				mRCURLY(); if (state.failed) return;

				}
				break;
			case 8 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:56: MINUS
				{
				mMINUS(); if (state.failed) return;

				}
				break;
			case 9 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:62: XML_COMMENT_OPEN
				{
				mXML_COMMENT_OPEN(); if (state.failed) return;

				}
				break;
			case 10 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:79: XML_COMMENT_CLOSE
				{
				mXML_COMMENT_CLOSE(); if (state.failed) return;

				}
				break;
			case 11 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:97: AT
				{
				mAT(); if (state.failed) return;

				}
				break;
			case 12 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:100: BANG
				{
				mBANG(); if (state.failed) return;

				}
				break;
			case 13 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:105: DOLLAR
				{
				mDOLLAR(); if (state.failed) return;

				}
				break;
			case 14 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:112: IDENT
				{
				mIDENT(); if (state.failed) return;

				}
				break;
			case 15 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:118: STRING
				{
				mSTRING(); if (state.failed) return;

				}
				break;
			case 16 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:125: URI
				{
				mURI(); if (state.failed) return;

				}
				break;
			case 17 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:129: COMMENT
				{
				mCOMMENT(); if (state.failed) return;

				}
				break;
			case 18 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:137: LINE_COMMENT
				{
				mLINE_COMMENT(); if (state.failed) return;

				}
				break;
			case 19 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:150: S
				{
				mS(); if (state.failed) return;

				}
				break;
			case 20 :
				// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:1:152: ANY
				{
				mANY(); if (state.failed) return;

				}
				break;

		}
	}

	// $ANTLR start synpred1_SassDocumentation
	public final void synpred1_SassDocumentation_fragment() throws RecognitionException {
		// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:205:7: ( 'import' )
		// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:205:8: 'import'
		{
		match("import"); if (state.failed) return;

		}

	}
	// $ANTLR end synpred1_SassDocumentation

	// $ANTLR start synpred2_SassDocumentation
	public final void synpred2_SassDocumentation_fragment() throws RecognitionException {
		// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:206:7: ( 'media' )
		// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:206:8: 'media'
		{
		match("media"); if (state.failed) return;

		}

	}
	// $ANTLR end synpred2_SassDocumentation

	// $ANTLR start synpred3_SassDocumentation
	public final void synpred3_SassDocumentation_fragment() throws RecognitionException {
		// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:212:7: ( 'default' )
		// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:212:8: 'default'
		{
		match("default"); if (state.failed) return;

		}

	}
	// $ANTLR end synpred3_SassDocumentation

	// $ANTLR start synpred4_SassDocumentation
	public final void synpred4_SassDocumentation_fragment() throws RecognitionException {
		// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:218:7: ( COLON )
		// org/daisy/pipeline/css/sass/impl/SassDocumentation.g:
		{
		if ( input.LA(1)==':' ) {
			input.consume();
			state.failed=false;
		}
		else {
			if (state.backtracking>0) {state.failed=true; return;}
			MismatchedSetException mse = new MismatchedSetException(null,input);
			recover(mse);
			throw mse;
		}
		}

	}
	// $ANTLR end synpred4_SassDocumentation

	public final boolean synpred1_SassDocumentation() {
		state.backtracking++;
		int start = input.mark();
		try {
			synpred1_SassDocumentation_fragment(); // can never throw exception
		} catch (RecognitionException re) {
			System.err.println("impossible: "+re);
		}
		boolean success = !state.failed;
		input.rewind(start);
		state.backtracking--;
		state.failed=false;
		return success;
	}
	public final boolean synpred2_SassDocumentation() {
		state.backtracking++;
		int start = input.mark();
		try {
			synpred2_SassDocumentation_fragment(); // can never throw exception
		} catch (RecognitionException re) {
			System.err.println("impossible: "+re);
		}
		boolean success = !state.failed;
		input.rewind(start);
		state.backtracking--;
		state.failed=false;
		return success;
	}
	public final boolean synpred3_SassDocumentation() {
		state.backtracking++;
		int start = input.mark();
		try {
			synpred3_SassDocumentation_fragment(); // can never throw exception
		} catch (RecognitionException re) {
			System.err.println("impossible: "+re);
		}
		boolean success = !state.failed;
		input.rewind(start);
		state.backtracking--;
		state.failed=false;
		return success;
	}
	public final boolean synpred4_SassDocumentation() {
		state.backtracking++;
		int start = input.mark();
		try {
			synpred4_SassDocumentation_fragment(); // can never throw exception
		} catch (RecognitionException re) {
			System.err.println("impossible: "+re);
		}
		boolean success = !state.failed;
		input.rewind(start);
		state.backtracking--;
		state.failed=false;
		return success;
	}



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy