def is_glued_prefix
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
1342def is_glued_prefix(+a: Token, b: Maybe<&2, Tree>) -> Bool:
1343 match b:
1344 case Some{n}:
1345 is_prefix(Token.sym(a)) && U32.is_eq(Token.end(a), Token.beg(first(n)))
1346 case None{}:
1347 False{}