Lines Matching refs:syntax
144 onig_set_default_syntax(OnigSyntaxType* syntax) in onig_set_default_syntax() argument
146 if (IS_NULL(syntax)) in onig_set_default_syntax()
147 syntax = ONIG_SYNTAX_RUBY; in onig_set_default_syntax()
149 OnigDefaultSyntax = syntax; in onig_set_default_syntax()
160 onig_set_syntax_op(OnigSyntaxType* syntax, unsigned int op) in onig_set_syntax_op() argument
162 syntax->op = op; in onig_set_syntax_op()
166 onig_set_syntax_op2(OnigSyntaxType* syntax, unsigned int op2) in onig_set_syntax_op2() argument
168 syntax->op2 = op2; in onig_set_syntax_op2()
172 onig_set_syntax_behavior(OnigSyntaxType* syntax, unsigned int behavior) in onig_set_syntax_behavior() argument
174 syntax->behavior = behavior; in onig_set_syntax_behavior()
178 onig_set_syntax_options(OnigSyntaxType* syntax, OnigOptionType options) in onig_set_syntax_options() argument
180 syntax->options = options; in onig_set_syntax_options()
184 onig_get_syntax_op(OnigSyntaxType* syntax) in onig_get_syntax_op() argument
186 return syntax->op; in onig_get_syntax_op()
190 onig_get_syntax_op2(OnigSyntaxType* syntax) in onig_get_syntax_op2() argument
192 return syntax->op2; in onig_get_syntax_op2()
196 onig_get_syntax_behavior(OnigSyntaxType* syntax) in onig_get_syntax_behavior() argument
198 return syntax->behavior; in onig_get_syntax_behavior()
202 onig_get_syntax_options(OnigSyntaxType* syntax) in onig_get_syntax_options() argument
204 return syntax->options; in onig_get_syntax_options()