bend-lint-rules
Releases (5)
-
0.2.2.0 invalid
expected a package named bend-lint-api@0.2.2.0 on https://hub.bend-lang.com
26 files do not load
- language/decreasing_call.bend
- language/forward_reference.bend
- language/reused_binder.bend
- language/unneeded_plus.bend
- layout/canon_import_path.bend
- layout/case.bend
- layout/directive_order.bend
- layout/format.bend
- layout/imports.bend
- lib/linter/directives.bend
- lib/text/main.bend
- no_unused/imports.bend
- performance/append_in_loop.bend
- performance/bang_after_fork.bend
- performance/dead_accumulator.bend
- performance/deep_call_in_fork.bend
- performance/drop_in_bang.bend
- performance/eager_branch.bend
- performance/gpu_fit.bend
- performance/list_index_loop.bend
- performance/loop_invariant_call.bend
- performance/missed_fork.bend
- performance/repeated_call.bend
- performance/template_value_field.bend
- performance/unused_result.bend
- rules.bend
-
0.2.1.0 invalid
expected a package named bend-lint-api@0.2.1.0 on https://hub.bend-lang.com
26 files do not load
- language/decreasing_call.bend
- language/forward_reference.bend
- language/reused_binder.bend
- language/unneeded_plus.bend
- layout/canon_import_path.bend
- layout/case.bend
- layout/directive_order.bend
- layout/format.bend
- layout/imports.bend
- lib/linter/directives.bend
- lib/text/main.bend
- no_unused/imports.bend
- performance/append_in_loop.bend
- performance/bang_after_fork.bend
- performance/dead_accumulator.bend
- performance/deep_call_in_fork.bend
- performance/drop_in_bang.bend
- performance/eager_branch.bend
- performance/gpu_fit.bend
- performance/list_index_loop.bend
- performance/loop_invariant_call.bend
- performance/missed_fork.bend
- performance/repeated_call.bend
- performance/template_value_field.bend
- performance/unused_result.bend
- rules.bend
-
0.2.0.0 indexed
-
0.1.1.0 unindexed
-
0.1.0.0 unindexed
Definitions (801)
layout/format.bend
- def lex.amp
- def lex.bar
- def lex.plus
- def comment
- def blanksA run of whitespace on one line.
- def lex.tokenThe token at the start of s; prev is the character before it.
- def next_col
- def lex.goEach step reads at least one character, so the text's length is fuel.
- def tokens
- def Token.textTokens ------
- def Token.beg
- def Token.end
- def Token.col
- def Token.sym
- def Token.is_name
- def Token.from
- def is_comment
- def is_operator
- def is_prefixA sign or quantity glued to what follows it.
- def is_tight
- def is_punct
- def is_sigil
- def is_opener
- def is_closer
- def is_keyword
- def is_block_word
- def is_continuedA record that ends in one of these goes on at the next line.
- def is_declaration
- def is_import
- def is_sym
- def firstTrees -----
- def last
- def is_newline
- def is_leaf
- def is_leaf_of
- def head
- def last_of
- def upcomingThe first tree after a run of newlines.
- def closerWhat closes the group s opens, or Word{}.
- def is_angled
- def opens.ofWhether t opens a group: a glued < opens type arguments.
- def opens
- def is_block_leaf
- def add
- def waits
- def pop
- def tree.close
- def tree.step
- def tree.go
- def measureDocs ----
- def str.split
- def str.of
- def str
- def textA doc for text of this width, with no newline and no trailing whitespace.
- def space
- def nothing
- def soft
- def hard
- def flat_of
- def flat_thenThe Flat of a doc a, then of what follows it.
- def flat_rev
- def grp
- def nest
- def cat_revA Cat of docs last first.
- def catA Cat of a few docs, in order.
- def code
- def is_glued_prefix
- def is_calleeWhether a group after x is its argument list or type arguments.
- def is_inc
- def separator.ofWhat goes between x and the tree b that y starts.
- def separator
- def comment_text.after"#x" gets a space; empty comments, whitespace, test expectations (#|), directives (#!) and headings (##) stay as they are.
- def comment_text
- def leaf_doc
- def should_popLevels ------
- def pop_levels
- def deepen
- def indentedCloses the levels deeper than col, then opens col if it is deeper.
- def depth.go
- def depth
- def freshSequences ---------
- def Seq.put
- def Seq.chain
- def Seq.doc
- def is_prev_comment
- def Seq.levelA run of newlines breaks the line at the next tree's level.
- def Seq.end
- def Seq.break
- def Seq.newline.if
- def Seq.newline
- def Seq.joint
- def Seq.tree
- def Seq.step
- def Seq.visit
- def Split.freshParts -----
- def Split.track
- def Split.end
- def Split.comments
- def has_head_comment
- def Split.act