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

Inheritance: MySqlParser
ファイルを表示 Open project: tupunco/Tup.Cobar4Net

Protected Properties

Property Type Description
exprParser MySqlExprParser

Public Methods

Method Description
MySqlDmlParser ( MySqlLexer lexer, MySqlExprParser exprParser ) : System.Collections
Select ( ) : DmlSelectStatement

first token is SELECT which has been scanned but not yet consumed

Protected Methods

Method Description
As ( ) : string
BuildIdList ( Identifier id ) : IList
BuildUnionSelect ( DmlSelectStatement select ) : DmlQueryStatement
GroupBy ( ) : GroupBy

nothing has been pre-consumed

IdList ( ) : IList

(id (',' id)*)?

IdNameList ( ) : IList

( idName (',' idName)*)? ')'

OrderBy ( ) : OrderBy

nothing has been pre-consumed

SelectPrimary ( ) : DmlSelectStatement
TableRefs ( ) : TableReferences

Private Methods

Method Description
BuildTableReference ( TableReference @ref ) : TableReference
BuildTableReferences ( TableReference @ref ) : TableReferences
Hint ( ) : IndexHint
HintList ( ) : IList
TableFactor ( ) : TableReference
TableReference ( ) : TableReference
TrsOrQuery ( ) : object

Method Details

As() protected method

protected As ( ) : string
return string

BuildIdList() protected method

protected BuildIdList ( Identifier id ) : IList
id Tup.Cobar4Net.Parser.Ast.Expression.Primary.Identifier never null
return IList

BuildUnionSelect() protected method

protected BuildUnionSelect ( DmlSelectStatement select ) : DmlQueryStatement
select Tup.Cobar4Net.Parser.Ast.Stmt.Dml.DmlSelectStatement
return Tup.Cobar4Net.Parser.Ast.Stmt.Dml.DmlQueryStatement

GroupBy() protected method

nothing has been pre-consumed
protected GroupBy ( ) : GroupBy
return Tup.Cobar4Net.Parser.Ast.Fragment.GroupBy

IdList() protected method

(id (',' id)*)?
protected IdList ( ) : IList
return IList

IdNameList() protected method

( idName (',' idName)*)? ')'
protected IdNameList ( ) : IList
return IList

MySqlDmlParser() public method

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

OrderBy() protected method

nothing has been pre-consumed
protected OrderBy ( ) : OrderBy
return Tup.Cobar4Net.Parser.Ast.Fragment.OrderBy

Select() public method

first token is SELECT which has been scanned but not yet consumed
public Select ( ) : DmlSelectStatement
return Tup.Cobar4Net.Parser.Ast.Stmt.Dml.DmlSelectStatement

SelectPrimary() protected method

protected SelectPrimary ( ) : DmlSelectStatement
return Tup.Cobar4Net.Parser.Ast.Stmt.Dml.DmlSelectStatement

TableRefs() protected method

protected TableRefs ( ) : TableReferences
return Tup.Cobar4Net.Parser.Ast.Fragment.Tableref.TableReferences

Property Details

exprParser protected_oe property

protected MySqlExprParser,Tup.Cobar4Net.Parser.Recognizer.Mysql.Syntax exprParser
return MySqlExprParser