Home
last modified time | relevance | path

Searched refs:NEWLINE (Results 1 – 25 of 46) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/Perl5/examples/expr/
DExpr.g16 stat: expr NEWLINE { print "$expr.value\n"; }
17 | ID '=' expr NEWLINE
19 | NEWLINE
49 NEWLINE:'\r'? '\n' ;
/external/antlr/antlr-3.4/runtime/Perl5/examples/mexpr/
DMExpr.g9 stat: expr NEWLINE { print "$expr.value\n"; }
10 | NEWLINE
27 NEWLINE:'\r'? '\n' ;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DDebugGrammar.g353 stat: expr NEWLINE -> expr
54 | ID '=' expr NEWLINE -> ^('=' ID expr)
55 | func NEWLINE -> func
56 | NEWLINE -> // ignore
94 NEWLINE
DProfileGrammar.g353 stat: expr NEWLINE -> expr
54 | ID '=' expr NEWLINE -> ^('=' ID expr)
55 | func NEWLINE -> func
56 | NEWLINE -> // ignore
94 NEWLINE
DProfileGrammarLexer.cs32 public const int NEWLINE=8; field in ProfileGrammarLexer
357 int _type = NEWLINE; in mNEWLINE()
DDebugGrammarLexer.cs32 public const int NEWLINE=8; field in DebugGrammarLexer
357 int _type = NEWLINE; in mNEWLINE()
DDebugGrammarParser.cs41 public const int NEWLINE=8; field in DebugGrammarParser
175 if ( ((LA1_0>=ID && LA1_0<=NEWLINE)||LA1_0==12) ) in prog()
340 NEWLINE3=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat72); in stat()
390 NEWLINE7=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat111); in stat()
444 NEWLINE9=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat145); in stat()
479 NEWLINE10=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat178); in stat()
1226 else if ( (LA6_2==NEWLINE||(LA6_2>=10 && LA6_2<=11)||(LA6_2>=13 && LA6_2<=16)) ) in atom()
DProfileGrammarParser.cs41 public const int NEWLINE=8; field in ProfileGrammarParser
179 if ( ((LA1_0>=ID && LA1_0<=NEWLINE)||LA1_0==12) ) in prog()
344 NEWLINE3=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat72); in stat()
394 NEWLINE7=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat111); in stat()
448 NEWLINE9=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat145); in stat()
483 NEWLINE10=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat178); in stat()
1230 else if ( (LA6_2==NEWLINE||(LA6_2>=10 && LA6_2<=11)||(LA6_2>=13 && LA6_2<=16)) ) in atom()
/external/antlr/antlr-3.4/runtime/Perl5/t/examples/
Dexpr.t23 stat: expr NEWLINE { print "$expr.value\n"; }
24 | ID '=' expr NEWLINE
26 | NEWLINE
56 NEWLINE:'\r'? '\n' ;
/external/mesa3d/src/glsl/glcpp/
Dglcpp-lex.l64 NEWLINE [\n]
85 <COMMENT>[^*\n]*\n { yylineno++; yycolumn = 0; return NEWLINE; }
87 <COMMENT>"*"+[^*/\n]*\n { yylineno++; yycolumn = 0; return NEWLINE; }
300 return NEWLINE;
307 return NEWLINE;
Dglcpp-parse.y167 …EF HASH_UNDEF HASH_VERSION IDENTIFIER IF_EXPANDED INTEGER INTEGER_STRING NEWLINE OTHER PLACEHOLDER…
207 IF_EXPANDED expression NEWLINE {
210 | ELIF_EXPANDED expression NEWLINE {
216 HASH_DEFINE_OBJ IDENTIFIER replacement_list NEWLINE {
219 | HASH_DEFINE_FUNC IDENTIFIER '(' ')' replacement_list NEWLINE {
222 | HASH_DEFINE_FUNC IDENTIFIER '(' identifier_list ')' replacement_list NEWLINE {
225 | HASH_UNDEF IDENTIFIER NEWLINE {
233 | HASH_IF conditional_tokens NEWLINE {
252 | HASH_IF NEWLINE {
262 | HASH_IFDEF IDENTIFIER junk NEWLINE {
[all …]
Dglcpp-parse.h59 NEWLINE = 276, enumerator
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
DPython.g77 : NEWLINE
79 | compound_stmt NEWLINE
83 : (NEWLINE | stmt)*
87 : (NEWLINE)* testlist (NEWLINE)*
129 : small_stmt (options {greedy=true;}:SEMI small_stmt)* (SEMI)? NEWLINE
254 | NEWLINE INDENT (stmt)+ DEDENT
538 NEWLINE
590 Only match \n here if we didn't start on left edge; let NEWLINE return that.
600 | {this.startPos>0}?=> '#' (~'\n')* // let NEWLINE handle \n unless char pos==0 for '#'
Drhino-python.extensions44 ... 1 COLON NEWLINE INDENT PRINT a NEWLINE DEDENT b ASSIGN 3 ...
49 Upon NEWLINE token from the lexer, however, an INDENT or DEDENT token
50 may need to be sent to the parser. The NEWLINE is the trigger for
51 this class to do it's job. NEWLINE is saved and then the first token
133 // if not a NEWLINE, doesn't signal indent/dedent work; just enqueue
134 if ( t.getType()!=PythonLexer.NEWLINE ) {
144 // save NEWLINE in the queue
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/JavaCompat/
DExpr.g379 stat: expr NEWLINE {JSystem.@out.println($expr.value);}
80 | ID '=' expr NEWLINE
82 | NEWLINE
109 NEWLINE:'\r'? '\n' ;
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dstreams.rb367 NEWLINE = ?\n.ord constant in ANTLR3.StringStream
482 if c == NEWLINE
535 @position.zero? or @data[ @position - 1 ] == NEWLINE
543 @data[ @position ] == NEWLINE #if @position < @data.length
/external/doclava/src/com/google/doclava/
DProofread.java30 static final String NEWLINE = "\n" + INDENT; field in Proofread
69 s = m.replaceAll(NEWLINE); in writeIndented()
/external/antlr/antlr-3.4/runtime/Perl5/examples/id/
DIDLexer.g6 NEWLINE:'\r'? '\n' { $self->skip(); } ;
/external/nist-sip/java/gov/nist/core/
DSeparators.java45 public static final String NEWLINE = "\r\n"; field
/external/nist-sip/java/gov/nist/javax/sip/header/
DSupported.java80 retval += NEWLINE; in encode()
DReplyTo.java76 return headerName + COLON + SP + encodeBody() + NEWLINE; in encode()
DExtensionHeaderImpl.java112 .append(NEWLINE) in encode()
DSIPHeader.java124 buffer.append(NEWLINE); in encode()
DCSeq.java103 return headerName + COLON + SP + encodeBody() + NEWLINE; in encode()
DTo.java81 return headerName + COLON + SP + encodeBody() + NEWLINE; in encode()

12