regsyntax.c File Reference

#include "regint.h"

Include dependency graph for regsyntax.c:

Go to the source code of this file.

Functions

int onig_set_default_syntax (const OnigSyntaxType *syntax)
void onig_copy_syntax (OnigSyntaxType *to, const OnigSyntaxType *from)
void onig_set_syntax_op (OnigSyntaxType *syntax, unsigned int op)
void onig_set_syntax_op2 (OnigSyntaxType *syntax, unsigned int op2)
void onig_set_syntax_behavior (OnigSyntaxType *syntax, unsigned int behavior)
void onig_set_syntax_options (OnigSyntaxType *syntax, OnigOptionType options)
unsigned int onig_get_syntax_op (OnigSyntaxType *syntax)
unsigned int onig_get_syntax_op2 (OnigSyntaxType *syntax)
unsigned int onig_get_syntax_behavior (OnigSyntaxType *syntax)
OnigOptionType onig_get_syntax_options (OnigSyntaxType *syntax)
int onig_set_meta_char (OnigSyntaxType *enc, unsigned int what, OnigCodePoint code)

Variables

const OnigSyntaxType OnigSyntaxASIS
const OnigSyntaxType OnigSyntaxPosixBasic
const OnigSyntaxType OnigSyntaxPosixExtended
const OnigSyntaxType OnigSyntaxEmacs
const OnigSyntaxType OnigSyntaxGrep
const OnigSyntaxType OnigSyntaxGnuRegex
const OnigSyntaxType OnigSyntaxJava
const OnigSyntaxType OnigSyntaxPerl
const OnigSyntaxType OnigSyntaxPerl_NG


Function Documentation

void onig_copy_syntax ( OnigSyntaxType to,
const OnigSyntaxType from 
)

Definition at line 233 of file regsyntax.c.

unsigned int onig_get_syntax_behavior ( OnigSyntaxType syntax  ) 

Definition at line 275 of file regsyntax.c.

References OnigSyntaxType::behavior.

unsigned int onig_get_syntax_op ( OnigSyntaxType syntax  ) 

Definition at line 263 of file regsyntax.c.

References OnigSyntaxType::op.

unsigned int onig_get_syntax_op2 ( OnigSyntaxType syntax  ) 

Definition at line 269 of file regsyntax.c.

References OnigSyntaxType::op2.

OnigOptionType onig_get_syntax_options ( OnigSyntaxType syntax  ) 

Definition at line 281 of file regsyntax.c.

References OnigSyntaxType::options.

int onig_set_default_syntax ( const OnigSyntaxType syntax  ) 

Definition at line 223 of file regsyntax.c.

References IS_NULL, ONIG_SYNTAX_RUBY, and OnigDefaultSyntax.

int onig_set_meta_char ( OnigSyntaxType enc,
unsigned int  what,
OnigCodePoint  code 
)

Definition at line 287 of file regsyntax.c.

References OnigMetaCharTableType::anychar, OnigMetaCharTableType::anychar_anytime, OnigMetaCharTableType::anytime, OnigMetaCharTableType::esc, OnigSyntaxType::meta_char_table, OnigMetaCharTableType::one_or_more_time, ONIG_META_CHAR_ANYCHAR, ONIG_META_CHAR_ANYCHAR_ANYTIME, ONIG_META_CHAR_ANYTIME, ONIG_META_CHAR_ESCAPE, ONIG_META_CHAR_ONE_OR_MORE_TIME, ONIG_META_CHAR_ZERO_OR_ONE_TIME, ONIGERR_INVALID_ARGUMENT, and OnigMetaCharTableType::zero_or_one_time.

void onig_set_syntax_behavior ( OnigSyntaxType syntax,
unsigned int  behavior 
)

Definition at line 251 of file regsyntax.c.

References OnigSyntaxType::behavior.

void onig_set_syntax_op ( OnigSyntaxType syntax,
unsigned int  op 
)

Definition at line 239 of file regsyntax.c.

References OnigSyntaxType::op.

void onig_set_syntax_op2 ( OnigSyntaxType syntax,
unsigned int  op2 
)

Definition at line 245 of file regsyntax.c.

References OnigSyntaxType::op2.

void onig_set_syntax_options ( OnigSyntaxType syntax,
OnigOptionType  options 
)

Definition at line 257 of file regsyntax.c.

References OnigSyntaxType::options.


Variable Documentation

const OnigSyntaxType OnigSyntaxASIS

Initial value:

Definition at line 32 of file regsyntax.c.

const OnigSyntaxType OnigSyntaxEmacs

Initial value:

Definition at line 86 of file regsyntax.c.

const OnigSyntaxType OnigSyntaxGnuRegex

Initial value:

Definition at line 129 of file regsyntax.c.

const OnigSyntaxType OnigSyntaxGrep

Initial value:

Definition at line 107 of file regsyntax.c.

const OnigSyntaxType OnigSyntaxJava

Initial value:

Definition at line 145 of file regsyntax.c.

const OnigSyntaxType OnigSyntaxPerl

Initial value:

Definition at line 168 of file regsyntax.c.

const OnigSyntaxType OnigSyntaxPerl_NG

Initial value:

Definition at line 192 of file regsyntax.c.

const OnigSyntaxType OnigSyntaxPosixBasic

Initial value:

Definition at line 48 of file regsyntax.c.

const OnigSyntaxType OnigSyntaxPosixExtended

Initial value:

Definition at line 65 of file regsyntax.c.


Generated on Wed Aug 10 09:18:59 2011 for Ruby by  doxygen 1.4.7