[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.7 MELT c-matchers

There are 10 c-matchers.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.7.1 CSTRING_SAME

C-matcher defined at file ‘warmelt-base.melt’, line 904.

c-matcher matching formal: STR - CSTRING

c-matcher input formals:

indextypename
0CSTRINGCSTR

C-matcher description: The CSTRING_SAME c-matcher match a string STR and test if it equals to the constant string CSTR. The match fails if STR is a null string or different from CSTR.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.7.2 TUPLE_SIZED

C-matcher defined at file ‘warmelt-base.melt’, line 620.

c-matcher matching formal: TUP - VALUE

c-matcher input formals:

indextypename
0LONGLN

C-matcher description: Match a tuple of given exact size.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.7.3 TUPLE_NTH

C-matcher defined at file ‘warmelt-base.melt’, line 603.

c-matcher matching formal: MATCHEDTUP - VALUE

c-matcher input formals:

indextypename
0LONGMATCHEDRK

c-matcher output formals:

indextypename
0VALUEOUTCOMP

C-matcher description: The TUPLE_NTH matcher with input number MATCHEDRK matches a tuple of length greater than MATCHEDRK and retrieve the component of that index, and matches it against the sub-pattern.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.7.4 SOME_STRING_VALUE

C-matcher defined at file ‘warmelt-base.melt’, line 399.

c-matcher matching formal: V - VALUE

c-matcher output formals:

indextypename
0VALUESV

C-matcher description: The SOME_STRING_VALUE matches a string value V and passes it to the output SV.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.7.5 SOME_INTEGER_GREATER_THAN

C-matcher defined at file ‘warmelt-base.melt’, line 387.

c-matcher matching formal: I - LONG

c-matcher input formals:

indextypename
0LONGN

C-matcher description: The SOME_INTEGER_GREATER_THAN matcher with input number N matches an integer I if I is greater than N.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.7.6 SOME_INTEGER_MULTIPLE

C-matcher defined at file ‘warmelt-base.melt’, line 373.

c-matcher matching formal: I - LONG

c-matcher input formals:

indextypename
0LONGN

c-matcher output formals:

indextypename
0LONGQ

C-matcher description: The SOME_INTEGER_MULTIPLE matcher with input number N matches an integer I if N is positive and I is multiple of N and the quotient matches the subpattern Q.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.7.7 BOX_OF

C-matcher defined at file ‘warmelt-first.melt’, line 1379.

c-matcher matching formal: BX - VALUE

c-matcher output formals:

indextypename
0VALUEV

C-matcher description: The BOX_OF patern matches a value box BX. If indeed it is a box, its content should match the subpattern V. It fails if BX is not a boxed integer. See also MAKE_BOX BOX_CONTENT.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.7.8 INTEGERBOX_OF

C-matcher defined at file ‘warmelt-first.melt’, line 1346.

c-matcher matching formal: BX - VALUE

c-matcher output formals:

indextypename
0LONGICT

C-matcher description: The INTEGERBOX_OF patern matches a boxed integer BX. If indeed it is a boxed integer, its integer content should match ICT. The match fails if BX is not a boxed integer (e.g. is the null value or non boxed-integer). See also MAKE_INTEGERBOX IS_INTEGERBOX.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.7.9 CLOSURE

C-matcher defined at file ‘warmelt-first.melt’, line 1324.

c-matcher matching formal: CLO - VALUE

C-matcher description: The CLOSURE patterns matches a closure.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.7.10 INTEGER_GREATER_THAN

C-matcher defined at file ‘warmelt-first.melt’, line 1036.

c-matcher matching formal: I - LONG

c-matcher input formals:

indextypename
0LONGN

C-matcher description: The INTEGER_GREATER_THAN matcher with input number N matches an integer I if I is greater than N.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated on June 22, 2011 using texi2html 1.82.