Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReconParser<I, V>

Factory for constructing Recon parsers and parse trees.

Type parameters

  • I

  • V

Hierarchy

Index

Methods

Abstract absent

  • absent(): V

Abstract and

  • and(lhs: V, rhs: V): V

Abstract attr

  • attr(key: V, value: V): I
  • attr(key: V): I

Abstract bitwiseAnd

  • bitwiseAnd(lhs: V, rhs: V): V

Abstract bitwiseNot

  • bitwiseNot(rhs: V): V

Abstract bitwiseOr

  • bitwiseOr(lhs: V, rhs: V): V

Abstract bitwiseXor

  • bitwiseXor(lhs: V, rhs: V): V

blockParser

Abstract bool

  • bool(value: boolean): V

Abstract children

  • children(selector: V): V

Abstract conditional

  • conditional(ifTerm: V, thenTerm: V, elseTerm: V): V

Abstract dataOutput

Abstract descendants

  • descendants(selector: V): V

Abstract divide

  • divide(lhs: V, rhs: V): V

Abstract eq

  • eq(lhs: V, rhs: V): V

Abstract extant

  • extant(): V

Abstract filter

  • filter(selector: V, predicate: V): V

Abstract ge

  • ge(lhs: V, rhs: V): V

Abstract get

  • get(selector: V, key: V): V

Abstract getAttr

  • getAttr(selector: V, key: V): V

Abstract getItem

  • getItem(selector: V, index: V): I

Abstract gt

  • gt(lhs: V, rhs: V): V

Abstract ident

  • ident(value: V): V

Abstract invoke

  • invoke(func: V, args: V): V

Abstract isDistinct

  • isDistinct(value: V): boolean

Abstract item

  • item(value: V): I

Abstract keys

  • keys(selector: V): V

Abstract lambda

  • lambda(bindings: V, template: V): V

Abstract le

  • le(lhs: V, rhs: V): V

Abstract lt

  • lt(lhs: V, rhs: V): V

Abstract minus

  • minus(lhs: V, rhs: V): V

Abstract modulo

  • modulo(lhs: V, rhs: V): V

Abstract ne

  • ne(lhs: V, rhs: V): V

Abstract negative

  • negative(rhs: V): V

Abstract not

  • not(rhs: V): V

Abstract num

  • num(value: number | string): V

Abstract or

  • or(lhs: V, rhs: V): V

parseAdditiveOperator

parseAndOperator

parseAttr

parseAttrExpression

parseBitwiseAndOperator

parseBitwiseOrOperator

parseBitwiseXorOperator

parseBlock

parseBlockExpression

parseBlockItem

parseBlockString

  • parseBlockString(string: string): V

parseComparisonOperator

parseConditionalOperator

parseData

parseIdent

parseInlineItem

parseInteger

parseInvokeOperator

parseLambdaFunc

parseLiteral

parseMarkup

parseMultiplicativeOperator

parseNumber

parseOrOperator

parsePrefixOperator

parsePrimary

parseRecord

parseSelector

parseString

Abstract plus

  • plus(lhs: V, rhs: V): V

Abstract positive

  • positive(rhs: V): V

Abstract recordBuilder

Abstract selector

  • selector(): V

Abstract slot

  • slot(key: V, value: V): I
  • slot(key: V): I

Abstract textOutput

Abstract times

  • times(lhs: V, rhs: V): V

Abstract uint32

  • uint32(value: number): V

Abstract uint64

  • uint64(value: number): V

Abstract value

  • value(item: I): V

Abstract valueBuilder

Abstract values

  • values(selector: V): V