• Preparing search index...
  • The search index is not available
regexp-ast-analysis - v0.7.1
  • regexp-ast-analysis
  • FirstConsumedChars
  • toLook

Function toLook

  • toLook(consumed): FirstLookChar
  • Converts the given FirstConsumedChar to a FirstLookChar.

    This is conceptually equivalent to wrapping the given consumed character into a lookaround.

    This is semantically equivalent to a|(?=b|$) -> (?=a|(?=b|$)) == (?=[ab]|$).

    Parameters

    • consumed: FirstConsumedChar

    Returns FirstLookChar

Settings

Member Visibility

Theme

regexp-ast-analysis - v0.7.1
  • Chars
  • FirstConsumedChars
    • concat
    • emptyConcat
    • emptyUnion
    • makeOptional
    • toLook
    • union
  • FirstLookChars
  • Cache
  • CanReorderOptions
  • ConsumedChars
  • FirstFullyConsumedChar
  • FirstLookChar
  • FirstPartiallyConsumedChar
  • FollowOperations
  • GetLongestPrefixOptions
  • LengthRange
  • ReadonlyFlags
  • WithContributors
  • Ancestor
  • CharacterElement
  • ClosestAncestor
  • ContainsCapturingGroup
  • Descendant
  • FirstConsumedChar
  • FollowEndReason
  • MatchingDirection
  • OptionalMatchingDirection
  • ToCharSetElement
  • ToUnicodeSetElement
  • canReorder
  • canReorderDirectional
  • containsCapturingGroup
  • createCache
  • followPaths
  • getCapturingGroupNumber
  • getClosestAncestor
  • getConsumedChars
  • getEffectiveMaximumRepetition
  • getFirstCharAfter
  • getFirstCharAfterWithContributors
  • getFirstConsumedChar
  • getFirstConsumedCharAfter
  • getFirstConsumedCharAfterWithContributors
  • getLengthRange
  • getLongestPrefix
  • getMatchingDirection
  • getMatchingDirectionFromAssertionKind
  • getPattern
  • hasSomeAncestor
  • hasSomeDescendant
  • hasStrings
  • invertMatchingDirection
  • isEmpty
  • isEmptyBackreference
  • isLengthRangeMinZero
  • isPotentiallyEmpty
  • isPotentiallyZeroLength
  • isStrictBackreference
  • isZeroLength
  • matchesAllCharacters
  • matchesNoCharacters
  • structurallyEqual
  • toCache
  • toCharSet
  • toUnicodeSet