프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$ineffectiveTokenCodes | |||
$nameTokenCodes | |||
$typeKeywordTokenCodes |
메소드 | 설명 | |
---|---|---|
findFirstTokenOnNextLine ( PHP_CodeSniffer_File $phpcsFile, integer $pointer ) : integer | null | ||
findNextAnyToken ( PHP_CodeSniffer_File $phpcsFile, integer $startPointer, integer | null $endPointer = null ) : integer | null | ||
findNextEffective ( PHP_CodeSniffer_File $phpcsFile, integer $startPointer, integer | null $endPointer = null ) : integer | null | ||
findNextExcluding ( PHP_CodeSniffer_File $phpcsFile, integer | integer[] $types, integer $startPointer, integer | null $endPointer = null ) : integer | null | ||
findPreviousEffective ( PHP_CodeSniffer_File $phpcsFile, integer $startPointer, integer | null $endPointer = null ) : integer | null | ||
findPreviousExcluding ( PHP_CodeSniffer_File $phpcsFile, integer[] | integer $types, integer $startPointer, integer | null $endPointer = null ) : integer | null | ||
getContent ( PHP_CodeSniffer_File $phpcsFile, integer $startPointer, integer | null $endPointer = null ) : string | ||
getLastTokenPointer ( PHP_CodeSniffer_File $phpcsFile ) : integer |
public static findNextAnyToken ( PHP_CodeSniffer_File $phpcsFile, integer $startPointer, integer | null $endPointer = null ) : integer | null | ||
$phpcsFile | PHP_CodeSniffer_File | |
$startPointer | integer | search starts at this token, inclusive |
$endPointer | integer | null | search ends at this token, exclusive |
리턴 | integer | null |
public static findNextEffective ( PHP_CodeSniffer_File $phpcsFile, integer $startPointer, integer | null $endPointer = null ) : integer | null | ||
$phpcsFile | PHP_CodeSniffer_File | |
$startPointer | integer | search starts at this token, inclusive |
$endPointer | integer | null | search ends at this token, exclusive |
리턴 | integer | null |
public static findNextExcluding ( PHP_CodeSniffer_File $phpcsFile, integer | integer[] $types, integer $startPointer, integer | null $endPointer = null ) : integer | null | ||
$phpcsFile | PHP_CodeSniffer_File | |
$types | integer | integer[] | |
$startPointer | integer | search starts at this token, inclusive |
$endPointer | integer | null | search ends at this token, exclusive |
리턴 | integer | null |
public static findPreviousEffective ( PHP_CodeSniffer_File $phpcsFile, integer $startPointer, integer | null $endPointer = null ) : integer | null | ||
$phpcsFile | PHP_CodeSniffer_File | |
$startPointer | integer | search starts at this token, inclusive |
$endPointer | integer | null | search ends at this token, exclusive |
리턴 | integer | null |
public static findPreviousExcluding ( PHP_CodeSniffer_File $phpcsFile, integer[] | integer $types, integer $startPointer, integer | null $endPointer = null ) : integer | null | ||
$phpcsFile | PHP_CodeSniffer_File | |
$types | integer[] | integer | |
$startPointer | integer | search starts at this token, inclusive |
$endPointer | integer | null | search ends at this token, exclusive |
리턴 | integer | null |
public static getLastTokenPointer ( PHP_CodeSniffer_File $phpcsFile ) : integer | ||
$phpcsFile | PHP_CodeSniffer_File | |
리턴 | integer |