TokenizerStringInspector
in package
FinalYes
Table of Contents
Methods
- hasOpenParenthesisContext() : bool
- hasOpenStringOrParenthesisContext() : bool
- isSpace() : bool
- isWhitespace() : bool
- searchOpenStringOrParenthesis() : array{hasOpenString: bool, hasOpenParenthesis: bool}
Methods
hasOpenParenthesisContext()
public
static hasOpenParenthesisContext(string $content) : bool
Parameters
- $content : string
Return values
boolhasOpenStringOrParenthesisContext()
public
static hasOpenStringOrParenthesisContext(string $content) : bool
Parameters
- $content : string
Return values
boolisSpace()
public
static isSpace(string $char) : bool
Parameters
- $char : string
Return values
boolisWhitespace()
public
static isWhitespace(string $content) : bool
Parameters
- $content : string
Return values
boolsearchOpenStringOrParenthesis()
private
static searchOpenStringOrParenthesis(string $content) : array{hasOpenString: bool, hasOpenParenthesis: bool}
Parameters
- $content : string