C# Class Anabranch.Neo4JConsolePackage.AutoCompleteBehavior.CypherEvaluator

A class providing helpers to evaluate the given Cypher
ファイルを表示 Open project: DotNet4Neo4j/Neo4j-Vs-Console

Public Methods

Method Description
IsInARelationship ( string cypher ) : bool
IsInNodeIdentifier ( string cypher ) : bool
WasLastSignificantCharANodeLabel ( string cypher ) : bool
WasLastSignificantCharARelationshipLabel ( string cypher ) : bool

Private Methods

Method Description
GetCurrentLineOfCypher ( string cypher ) : string
IsInSomething ( string cypher, char openingCharacter, char closingCharacter ) : bool
WasLastSignificantCharASomethingLabel ( string cypher, char openingCharacter, bool>.Func isInSomethingMethod, char significantChar = ':' ) : bool

Method Details

IsInARelationship() public static method

public static IsInARelationship ( string cypher ) : bool
cypher string
return bool

IsInNodeIdentifier() public static method

public static IsInNodeIdentifier ( string cypher ) : bool
cypher string
return bool

WasLastSignificantCharANodeLabel() public static method

public static WasLastSignificantCharANodeLabel ( string cypher ) : bool
cypher string
return bool

WasLastSignificantCharARelationshipLabel() public static method

public static WasLastSignificantCharARelationshipLabel ( string cypher ) : bool
cypher string
return bool