C# Class Tup.Cobar4Net.Parser.Recognizer.Mysql.Syntax.MySqlDmlReplaceParser

Inheritance: MySqlDmlInsertReplaceParser
ファイルを表示 Open project: tupunco/Tup.Cobar4Net Class Usage Examples

Public Methods

Method Description
MySqlDmlReplaceParser ( MySqlLexer lexer, MySqlExprParser exprParser ) : System.Collections.Generic
Replace ( ) : DmlReplaceStatement

nothing has been pre-consumed

 'REPLACE' ('LOW_PRIORITY' | 'DELAYED')? ('INTO')? tableName (  'SET' colName ('='|':=') (expr|'DEFAULT') (',' colName ('='|':=') (expr|'DEFAULT')) | '(' (  colName (','colName)* ')' (  '(' 'SELECT' ...

nothing has been pre-consumed

 'REPLACE' ('LOW_PRIORITY' | 'DELAYED')? ('INTO')? tableName (  'SET' colName ('='|':=') (expr|'DEFAULT') (',' colName ('='|':=') (expr|'DEFAULT')) | '(' (  colName (','colName)* ')' (  '(' 'SELECT' ... ')' | 'SELECT' ... |('VALUES'|'VALUE') value ( ',' value ) ) | 'SELECT' ... ')' ) | 'SELECT' ... |('VALUES'|'VALUE') value ( ',' value ) ) value := '(' (expr|'DEFAULT') ( ',' (expr|'DEFAULT'))* ')' 

Method Details

MySqlDmlReplaceParser() public method

public MySqlDmlReplaceParser ( MySqlLexer lexer, MySqlExprParser exprParser ) : System.Collections.Generic
lexer Tup.Cobar4Net.Parser.Recognizer.Mysql.Lexer.MySqlLexer
exprParser MySqlExprParser
return System.Collections.Generic

Replace() public method

nothing has been pre-consumed
 'REPLACE' ('LOW_PRIORITY' | 'DELAYED')? ('INTO')? tableName (  'SET' colName ('='|':=') (expr|'DEFAULT') (',' colName ('='|':=') (expr|'DEFAULT')) | '(' (  colName (','colName)* ')' (  '(' 'SELECT' ...                            
nothing has been pre-consumed
 'REPLACE' ('LOW_PRIORITY' | 'DELAYED')? ('INTO')? tableName (  'SET' colName ('='|':=') (expr|'DEFAULT') (',' colName ('='|':=') (expr|'DEFAULT')) | '(' (  colName (','colName)* ')' (  '(' 'SELECT' ... ')' | 'SELECT' ... |('VALUES'|'VALUE') value ( ',' value ) ) | 'SELECT' ... ')' ) | 'SELECT' ... |('VALUES'|'VALUE') value ( ',' value ) ) value := '(' (expr|'DEFAULT') ( ',' (expr|'DEFAULT'))* ')' 
public Replace ( ) : DmlReplaceStatement
return Tup.Cobar4Net.Parser.Ast.Stmt.Dml.DmlReplaceStatement