Home
last modified time | relevance | path

Searched refs:OUTDENT (Results 1 – 17 of 17) sorted by relevance

/dports/lang/coffeescript/coffeescript-2.6.1/src/
H A Dgrammar.coffee170 o 'YIELD INDENT Object OUTDENT', -> new Op $1, $3
178 o 'INDENT OUTDENT', -> new Block
179 o 'INDENT Body OUTDENT', -> $2
253 o 'Assignable = INDENT Expression OUTDENT', -> new Assign $1, $4
314 o 'RETURN INDENT Object OUTDENT', -> new Return new Value $3
446 o 'INDEX_START INDENT IndexValue OUTDENT INDEX_END', -> $3
615 o 'INDENT ArgList OptComma OUTDENT', -> $2
616 o 'ArgList OptComma INDENT ArgList OptComma OUTDENT', -> $1.concat $4
694 o '( INDENT Body OUTDENT )', -> new Parens $3
893 o 'AWAIT INDENT Object OUTDENT', -> new Op $1, $3
[all …]
H A Drewriter.coffee380 newLine = prevTag is 'OUTDENT' or prevToken.newLine
427 offset = if nextTag is 'OUTDENT' then 1 else 0
583 return 1 unless token[0] in ['INDENT', 'OUTDENT'] or
671 # Insert `OUTDENT` to close inner `IF`.
674 # Insert `OUTDENT` to close outer `IF`.
681 if @tag(i) is 'OUTDENT' and @tag(i + 1) is 'OUTDENT'
696 if token[1] is ';' and @tag(i + 1) is 'OUTDENT'
720 if tag is 'ELSE' and @tag(i - 1) isnt 'OUTDENT'
764 outdent = ['OUTDENT', 2]
785 ['INDENT', 'OUTDENT'],
[all …]
H A Dlexer.coffee555 @ends.push {tag: 'OUTDENT'}
585 @pair 'OUTDENT'
586 @token 'OUTDENT', moveOut, length: outdentLength, indentSize: indentSize + moveOut - dent
746 i-- while @ends[i]?.tag is 'OUTDENT' or depth-- > 0 # Ignore indents.
929 # Remove trailing `'INDENT'/'OUTDENT'` pair (if any).
930 …ce -3, 2 if nested[nested.length - 3]?[0] is 'INDENT' and nested[nested.length - 2][0] is 'OUTDENT'
1027 @error "unmatched #{tag}" unless 'OUTDENT' is wanted
1470 LINE_BREAK = ['INDENT', 'OUTDENT', 'TERMINATOR']
H A Dcoffeescript.coffee261 when errorTag in ['INDENT', 'OUTDENT']
/dports/devel/bazel-buildtools/buildtools-3.2.1/vendor/github.com/google/skylark/syntax/
H A Dscan.go30 OUTDENT const
118 OUTDENT: "outdent",
483 return OUTDENT
H A Dparse.go337 for p.tok != OUTDENT && p.tok != EOF {
340 p.consume(OUTDENT)
/dports/security/xray-core/Xray-core-1.5.0/vendor/go.starlark.net/syntax/
H A Dscan.go31 OUTDENT const
121 OUTDENT: "outdent",
531 return OUTDENT
H A Dparse.go388 for p.tok != OUTDENT && p.tok != EOF {
391 p.consume(OUTDENT)
/dports/net/v2ray/v2ray-core-4.36.2/vendor/go.starlark.net/syntax/
H A Dscan.go31 OUTDENT const
121 OUTDENT: "outdent",
531 return OUTDENT
H A Dparse.go388 for p.tok != OUTDENT && p.tok != EOF {
391 p.consume(OUTDENT)
/dports/sysutils/kubectl/kubernetes-1.22.2/vendor/go.starlark.net/syntax/
H A Dscan.go31 OUTDENT const
120 OUTDENT: "outdent",
515 return OUTDENT
H A Dparse.go388 for p.tok != OUTDENT && p.tok != EOF {
391 p.consume(OUTDENT)
/dports/devel/bazel-buildtools/buildtools-3.2.1/vendor/go.starlark.net/syntax/
H A Dscan.go31 OUTDENT const
120 OUTDENT: "outdent",
514 return OUTDENT
H A Dparse.go388 for p.tok != OUTDENT && p.tok != EOF {
391 p.consume(OUTDENT)
/dports/lang/coffeescript/coffeescript-2.6.1/test/
H A Dlocation.coffee474 test "Verify OUTDENT tokens are located at the end of the previous token", ->
486 eq outdent[0], 'OUTDENT'
492 test "Verify OUTDENT and CALL_END tokens are located at the end of the previous token", ->
514 eq token[0], 'OUTDENT'
/dports/textproc/bat/bat-0.18.3/tests/syntax-tests/source/CoffeeScript/
H A Dcoffeescript.coffee261 when errorTag in ['INDENT', 'OUTDENT']
/dports/textproc/zorba/zorba-2.7.0/src/compiler/parsetree/
H A Dparsenodes.cpp56 #define OUTDENT std::string(printdepth--, ' ') macro