Home
last modified time | relevance | path

Searched refs:lastIndent (Results 1 – 3 of 3) sorted by relevance

/external/google-java-format/core/src/main/java/com/google/googlejavaformat/
DDoc.java64 final int lastIndent; field in Doc.State
69 State(int lastIndent, int indent, int column, boolean mustBreak) { in State() argument
70 this.lastIndent = lastIndent; in State()
81 return new State(lastIndent, indent, column, mustBreak); in withColumn()
85 return new State(lastIndent, indent, column, mustBreak); in withMustBreak()
91 .add("lastIndent", lastIndent) in toString()
317 state = optBreakDoc.get().computeBreaks(state, state.lastIndent, shouldBreak); in computeBreakAndSplit()
649 public State computeBreaks(State state, int lastIndent, boolean broken) { in computeBreaks() argument
656 this.newIndent = Math.max(lastIndent + plusIndent.eval(), 0); in computeBreaks()
/external/antlr/runtime/JavaScript/tests/functional/
Drhino-python.extensions172 var lastIndent = this.peek();
173 if ( cpos > lastIndent ) { // they indented; track and gen INDENT
180 else if ( cpos < lastIndent ) { // they dedented
/external/skqp/tools/bookmaker/
DincludeParser.cpp498 int lastIndent = 0; in writeCodeBlock() local
529 if (lastIndent > 0 && (!doubleMeUp || !lastDoubleMeUp)) { in writeCodeBlock()
538 lastIndent = fCheck.fIndent; in writeCodeBlock()
583 if (elided && ((MarkType::kFunction != markType && lastIndent > startIndent) || elidedTClass)) { in writeCodeBlock()