even more progress in the parser

git-svn-id: svn://10.0.0.236/trunk@6456 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1998-07-25 00:05:29 +00:00
parent b5ea9e187d
commit 3e91f727ac
16 changed files with 112 additions and 8 deletions

View File

@@ -203,4 +203,13 @@ PRInt32 nsCParserNode::TranslateToUnicodeStr(nsString& aString) const
return -1;
}
/**
* This getter retrieves the line number from the input source where
* the token occured. Lines are interpreted as occuring between \n characters.
* @update gess7/24/98
* @return int containing the line number the token was found on
*/
PRUint16 nsCParserNode::GetSourceLineNumber(void){
return mToken->GetSourceLineNumber();
}