Lines Matching refs:we

319 "   Clear the Erlang token cache if we have a different file or the file has
339 " result: [] -- the result is an empty list if we hit the beginning or end
392 " -- the result is an empty list if we hit the beginning or end of
406 " We found a non-empty line. If we were moving up, we return the last
407 " token of this line. Otherwise we return the first token if this line.
460 " If we encounter a syntax error, we return
480 " If we encounter an unexpected token, we return
550 " If we hit the beginning of the file, it is not a catch in a try block
662 " This function is called when we hit the beginning of a file or an
663 " end-of-clause token -- i.e. when we found the beginning of the current
666 " If the stack contains an '->' or 'when', this means that we can return
667 " now, since we were looking for the beginning of the clause.
672 " lnum: the line number of the "end of clause" mark (or 0 if we hit the
711 " Are we after a "-spec func() ...;" clause?
723 " Yes, we are.
790 " we currently think we might align to.
796 " previous line) until we can decide how to indent the current line.
866 " If we are after of/receive, but these are not the last
867 " tokens of the line, we want to indent like this:
923 " when we reached these tokens, and the stack already had
924 " a catch/after/end, we didn't modify it.
926 " This way when we reach case/try/receive (i.e. now),
970 " The "fun" is followed by a variable, so we might have a named fun:
971 " "fun Fun() -> ok end". Thus we take the next token to decide
1007 " Pass: we have a function reference (e.g. "fun f/0")
1146 " If we can be sure that there is synchronization in the Erlang
1147 " syntax, we use searchpair to make the script quicker. Otherwise we
1222 " - If the stack top is an '->' or a 'when', then we
1227 " if the stack already has a catch/after/end, we don't
1228 " modify it. This way when we reach case/try/receive,
1250 " - If the stack top is a 'when', then we should keep
1254 " if the stack already has a catch/after/end, we don't
1255 " modify it. This way when we reach case/try/receive,
1290 " - If the stack top is an '->' or a 'when', then we
1295 " if the stack already has a catch/after/end, we don't
1296 " modify it. This way when we reach case/try/receive,
1319 " if the stack already has a catch/after/end, we don't
1320 " modify it. This way when we reach case/try/receive,
1413 " If we can be sure that there is synchronization in the Erlang
1414 " syntax, we use searchpair to make the script quicker.