Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lexComment (0.12 sec)

  1. src/text/template/parse/lex.go

    		l.pos += afterMarker
    		l.ignore()
    		return lexComment
    	}
    	i := l.thisItem(itemLeftDelim)
    	l.insideAction = true
    	l.pos += afterMarker
    	l.ignore()
    	l.parenDepth = 0
    	return l.emitItem(i)
    }
    
    // lexComment scans a comment. The left comment marker is known to be present.
    func lexComment(l *lexer) stateFn {
    	l.pos += Pos(len(leftComment))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 04 22:36:12 UTC 2022
    - 18.1K bytes
    - Viewed (0)
Back to top